deploy
All checks were successful
Build & Deploy MB Grid Solutions / build-and-deploy (push) Successful in 30s

This commit is contained in:
2026-01-27 16:46:49 +01:00
parent 9c8307ec02
commit c02fff0f65
2 changed files with 10 additions and 1 deletions

View File

@@ -167,7 +167,7 @@ jobs:
SMTP_SECURE='${{ secrets.SMTP_SECURE }}' \
SMTP_USER='${{ secrets.SMTP_USER }}' \
SITE_NAME='mb-grid-solutions.com' \
sudo -u deploy -E HOME=/home/deploy /home/deploy/deploy.sh"
sudo -u deploy -E HOME=/home/deploy /home/deploy/deploy.sh --zero-downtime"
DEPLOY_EXIT_CODE=$?
echo ""

View File

@@ -17,6 +17,15 @@ services:
retries: 10
deploy:
replicas: 2
update_config:
order: start-first
failure_action: rollback
delay: 5s
rollback_config:
parallelism: 1
order: stop-first
restart_policy:
condition: on-failure
networks:
- infra