Skip to content

Commit 8d1be74

Browse files
committed
fix: set cancel-in-progress to true for pages deployment
- Change cancel-in-progress from false to true in concurrency settings - Ensures only the latest commit is deployed by cancelling older deployments - Follows GitHub Pages deployment best practices - Saves runner minutes and avoids deploying outdated code
1 parent e5666a3 commit 8d1be74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

{{cookiecutter.protocol_name}}/.github/workflows/deploy-gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919

2020
concurrency:
2121
group: "pages"
22-
cancel-in-progress: false
22+
cancel-in-progress: true
2323

2424
jobs:
2525
build:

0 commit comments

Comments
 (0)