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
Some checks failed
Deploy production / deploy (push) Failing after 1s
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user