mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
proper concurrency
This commit is contained in:
1 parent
f68198475e
commit
e42576b005
1 file changed
+3
-2
@@ -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 }}
|
||||
|
||||
Reference in new issue
Block a user