Files
ludikevent_crm/.gitea/workflows/install-deps.yml
Serreau Jovann e4f1fda1bd ```
 feat(maintenance): Ajoute une page et un mode maintenance activable.
```
2026-01-21 14:00:54 +01:00

26 lines
847 B
YAML

deploy:
name: 🚀 Deploy to Production
runs-on: ubuntu-latest # N'oublie pas de préciser l'OS du runner
steps:
- name: Deploy with SSH
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
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