🔨 chore(workflows): Simplifie le script de déploiement dans install-deps.yml

This commit is contained in:
Serreau Jovann
2026-01-22 21:20:37 +01:00
parent 225f03f8f3
commit 5e27658241

View File

@@ -32,17 +32,4 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }} key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22 port: 22
script: | script: |
cd /var/www/ludikevent-intranet cd /var/www/ludikevent-intranet && php bin/console app:maintenance on && git pull && sh ./update.sh && php bin/console app:maintenance off
# 1. Activer la maintenance
php bin/console app:maintenance on
# 2. Mise à jour du code
git pull
# 3. Exécuter ton script d'update (migrations, install, etc.)
sh ./update.sh
# 4. Désactiver la maintenance
php bin/console app:maintenance off