Fix Actions deploy SSH quoting
Deploy live / test (push) Successful in 23s
Deploy live / deploy (push) Successful in 6s

This commit is contained in:
2026-08-11 09:34:53 +02:00
parent 1ed5964554
commit 52701569c3
+3 -3
View File
@@ -56,8 +56,8 @@ jobs:
DEPLOY_USER: ${{ secrets.IMPORTARR_DEPLOY_USER }}
run: >-
ssh -p "$DEPLOY_PORT" -o BatchMode=yes "$DEPLOY_USER@$DEPLOY_HOST"
sudo -n /bin/sh -c 'set -eu; cd /opt/importarr/repo;
test -z "$(git status --porcelain)";
"sudo -n /bin/sh -c 'set -eu; cd /opt/importarr/repo;
test -z \"\$(git status --porcelain)\";
git fetch --prune origin main;
git checkout -B main origin/main;
exec /bin/sh deploy/repo-upgrade.sh'
exec /bin/sh deploy/repo-upgrade.sh'"