From 991d172f69507cbe5c536d9b9485f867622c126c Mon Sep 17 00:00:00 2001 From: Corentin JOGUET Date: Thu, 7 May 2026 12:21:59 +0200 Subject: [PATCH] ops(ci): trigger CI on main pushes + disable auto deploy-staging Phase 0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - CI runs on push to main + develop + PR (was: ignore main → never ran on main) - Deploy staging : workflow_dispatch only (re-activer push trigger quand secrets STAGING_HOST/USER/SSH_KEY configures cote GitHub) Effet : push suivant trigger un CI complet et verifie que la stack passe les gates avant tout deploy. --- .github/workflows/ci.yml | 3 ++- .github/workflows/deploy-staging.yml | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1dc396c..c3aabd2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,10 @@ name: CI on: push: - branches-ignore: [main] + branches: [main, develop] pull_request: branches: [main] + workflow_dispatch: permissions: contents: read diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index b9e4eb3..79cd124 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -1,9 +1,10 @@ name: Deploy Staging on: - push: - branches: [main] + # Phase 0 : workflow_dispatch only — re-activer le push trigger quand secrets STAGING_* configures workflow_dispatch: + # push: + # branches: [main] permissions: contents: read