From e42576b0050816d5d6f380bf3f31efef9f049d3f Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Thu, 13 Aug 2026 12:30:48 -0500 Subject: [PATCH] proper concurrency --- .github/workflows/website.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/website.yaml b/.github/workflows/website.yaml index 0a745b590..44e7f39b3 100644 --- a/.github/workflows/website.yaml +++ b/.github/workflows/website.yaml @@ -2,7 +2,6 @@ name: Website on: push: - branches: production schedule: - cron: "0 4 * * *" @@ -57,7 +56,7 @@ permissions: contents: read concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + group: ${{ github.workflow }}-${{ inputs.environment || 'production' }} cancel-in-progress: true env: @@ -140,6 +139,8 @@ jobs: - name: Trigger deployment + if: ${{ github.ref == 'refs/heads/production' }} + env: TOKEN: ${{ secrets.GH_NODE_DEPLOY_TOKEN }} CHUNK: ${{ matrix.chunk }}