Update repo_health.yml
This commit is contained in:
4
.github/workflows/repo_health.yml
vendored
4
.github/workflows/repo_health.yml
vendored
@@ -312,9 +312,7 @@ jobs:
|
||||
} >> "${GITHUB_STEP_SUMMARY}"
|
||||
|
||||
set +e
|
||||
printf 'pwd
|
||||
bye
|
||||
' | sftp -oBatchMode=yes -oStrictHostKeyChecking=no -P "${port}" -i "${key_file}" "${FTP_USER}@${FTP_HOST}" >/tmp/sftp_check.log 2>&1
|
||||
printf 'pwd\nbye\n' | sftp -oBatchMode=yes -oStrictHostKeyChecking=no -P "${port}" -i "${key_file}" "${FTP_USER}@${FTP_HOST}" >/tmp/sftp_check.log 2>&1
|
||||
sftp_rc=$?
|
||||
set -e
|
||||
|
||||
|
||||
Reference in New Issue
Block a user