From e8c239f06659eab9fa7ef1cee854a3f95c245cd8 Mon Sep 17 00:00:00 2001 From: Serreau Jovann Date: Wed, 28 Jan 2026 16:14:13 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20ci(workflows):=20Met=20?= =?UTF-8?q?=C3=A0=20jour=20le=20cron=20et=20ajoute=20le=20d=C3=A9clencheme?= =?UTF-8?q?nt=20sur=20push=20master.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/install-deps.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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: