proper concurrency

This commit is contained in:
tresabhi committed 2026-08-13 12:30:48 -05:00
1 parent f68198475e
commit e42576b005
1 file changed
+3 -2
+3 -2
View File
@@ -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 }}