We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6754c64 commit 772a0a7Copy full SHA for 772a0a7
.github/workflows/deploy-via-ts.yml
@@ -57,5 +57,14 @@ jobs:
57
58
echo "Deployment finished successfully."
59
exit 0
60
- REMOTE
61
- # ensure secrets are available to the step's runner context (they are by default)
+ REMOTE_SCRIPT
+
62
+ ssh_exit=$?
63
+ echo "SSH client exit code: $ssh_exit"
64
65
+ if [ "$ssh_exit" -ne 0 ]; then
66
+ echo "ERROR: SSH command returned non-zero exit code: $ssh_exit"
67
+ exit $ssh_exit
68
+ fi
69
70
+ echo "Workflow step completed (ssh returned 0)."
0 commit comments