🔨 chore(workflows): Simplifie le script de déploiement dans install-deps.yml
This commit is contained in:
@@ -32,17 +32,4 @@ jobs:
|
||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
port: 22
|
||||
script: |
|
||||
cd /var/www/ludikevent-intranet
|
||||
|
||||
|
||||
# 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
|
||||
cd /var/www/ludikevent-intranet && php bin/console app:maintenance on && git pull && sh ./update.sh && php bin/console app:maintenance off
|
||||
|
||||
Reference in New Issue
Block a user