Skip to content

Commit a19e8ac

Browse files
committed
ci: don't cancel docs build of other PRs.
PRs will only build the documentation and never publish it. Therefore, these should run in parallel to check if the docs build and (to save resources) they can cancel previous run when the PR is updated. The main branch also publishes the docs. Then merging several PRs in short succession the this workflow must be cancelled to avoid outdated docs from being published.
1 parent 599bb32 commit a19e8ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/gh-pages.yml

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

1717
# Allow only one concurrent deployment
1818
concurrency:
19-
group: "pages"
19+
group: ${{ github.workflow }}#${{ github.ref }}
2020
cancel-in-progress: true
2121

2222
jobs:

0 commit comments

Comments
 (0)