Bound deploy SSH step to 5m so a hung session fails fast
Deploy to LXC / deploy (push) Successful in 35s

A leftover child process from npm ci/build can keep the SSH
session's file descriptors open even after the remote script
exits, leaving the Action step hanging indefinitely with no
useful signal -- the actual deploy work (build, restart, health
check) normally finishes in well under a minute.
This commit is contained in:
2026-07-01 11:51:59 +07:00
parent 193673a9ce
commit f45adceef0
+1
View File
@@ -15,6 +15,7 @@ jobs:
username: ${{ secrets.DEPLOY_USER }}
key: ${{ secrets.DEPLOY_KEY }}
port: ${{ secrets.DEPLOY_PORT || 22 }}
command_timeout: 5m
script: |
set -e