From 0fdc896960391fd606acf42abe5892f4453e229f Mon Sep 17 00:00:00 2001 From: Julien D <150942337+jdaln@users.noreply.github.com> Date: Thu, 4 Jun 2026 12:52:25 +0000 Subject: [PATCH] fix: have deployment on commit instead of tag for main branch --- .github/workflows/deploy-prod.yml | 5 +++-- README.md | 7 ++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 3dff7e9..fc087d9 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -2,8 +2,9 @@ name: Deploy Production on: push: - tags: - - 'v*' + branches: + - main + - master workflow_dispatch: permissions: diff --git a/README.md b/README.md index d8d67ee..47d3588 100644 --- a/README.md +++ b/README.md @@ -63,14 +63,11 @@ The site uses GitHub Actions for CI/CD: | Branch/Tag | Deployment | Indexing | |------------|------------|----------| | `dev` | Automatic on push | Blocked (noindex) | -| `v*` tags | Automatic on tag | Allowed | +| `main` / `master` | Automatic on push | Allowed | ### Deploy to Production -```bash -git tag v1.0.0 -git push origin v1.0.0 -``` +Production deploys are triggered automatically when changes are pushed to `main` or `master`. ## License