Skip to content

Commit 610151a

Browse files
committed
Only protect the actual deploy job with concurrency.
1 parent 78e3089 commit 610151a

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ permissions:
1515
pages: write
1616
id-token: write
1717

18-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20-
concurrency:
21-
group: "pages"
22-
cancel-in-progress: false
23-
2418
jobs:
2519

2620
build_index:
@@ -30,6 +24,9 @@ jobs:
3024

3125
deploy_index:
3226
needs: build_index
27+
concurrency:
28+
group: "pages"
29+
cancel-in-progress: false
3330
environment:
3431
name: github-pages
3532
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)