diff --git a/.gitea/workflows/install-deps.yml b/.gitea/workflows/install-deps.yml index ed61b7c..af7e70e 100644 --- a/.gitea/workflows/install-deps.yml +++ b/.gitea/workflows/install-deps.yml @@ -1,9 +1,12 @@ name: Symfony CD - Scheduled Deploy on: + push: + branches: + - master schedule: - # Déclenchement à 2h00 UTC - - cron: '0 2 * * *' + # Déclenchement à 2h, 6h, 12h, 16h, 18h et 20h UTC + - cron: '0 2,6,12,16,18,20 * * *' workflow_dispatch: # Bouton manuel dans GitHub Actions permissions: @@ -13,7 +16,7 @@ permissions: jobs: deploy: name: 🚀 Deploy to Production - # Ne s'exécute QUE sur le cron ou le bouton manuel (exclut le push automatique) + # Le job ne se lance que pour le cron ou manuellement, pas au push if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest steps: