Update repo_health.yml
This commit is contained in:
4
.github/workflows/repo_health.yml
vendored
4
.github/workflows/repo_health.yml
vendored
@@ -226,9 +226,7 @@ jobs:
|
||||
echo "### SFTP connectivity test" >> "${GITHUB_STEP_SUMMARY}"
|
||||
echo "Attempting non-destructive SFTP session (pwd only)." >> "${GITHUB_STEP_SUMMARY}"
|
||||
|
||||
printf 'pwd
|
||||
bye
|
||||
' | sftp -oBatchMode=yes -oStrictHostKeyChecking=no -P "${port}" -i "${key_file}" "${FTP_USER}@${FTP_HOST}"
|
||||
printf 'pwd\\nbye\\n' | sftp -oBatchMode=yes -oStrictHostKeyChecking=no -P "${port}" -i "${key_file}" "${FTP_USER}@${FTP_HOST}"
|
||||
|
||||
echo "SFTP connectivity check passed." >> "${GITHUB_STEP_SUMMARY}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user