Aktualisiere Produktions-Deployment-Workflow zur Verwendung von Git Fast-Forward vor dem Ausführen des Deploy-Skripts
Some checks failed
Deploy production / deploy (push) Failing after 1s

This commit is contained in:
Torsten Schulz (local)
2026-08-26 15:45:27 +02:00
parent b2431f1e16
commit 51acff261e
2 changed files with 4 additions and 4 deletions

View File

@@ -35,4 +35,4 @@ jobs:
echo "known_hosts-Zeilen: $(wc -l < "$HOME/.ssh/known_hosts")"
ssh -o BatchMode=yes "$DEPLOY_USER@$DEPLOY_HOST" \
'cd /var/www/timeclock && ./deploy-production.sh'
'cd /var/www/timeclock && git pull --ff-only origin main && ./deploy-production.sh'