Update repo_health.yml
This commit is contained in:
5
.github/workflows/repo_health.yml
vendored
5
.github/workflows/repo_health.yml
vendored
@@ -214,10 +214,7 @@ jobs:
|
||||
echo "### SFTP connectivity test" >> "${GITHUB_STEP_SUMMARY}"
|
||||
echo "Attempting non-destructive SFTP session (pwd only)." >> "${GITHUB_STEP_SUMMARY}"
|
||||
|
||||
sftp -oBatchMode=yes -oStrictHostKeyChecking=no -P "${port}" -i "${key_file}" "${FTP_USER}@${FTP_HOST}" <<'EOF'
|
||||
pwd
|
||||
bye
|
||||
EOF
|
||||
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