Skip to content

Commit 5d03b98

Browse files
authored
CI: Queue up doc pushes (#206)
This action fails if more than 1 is running at the same time (which happens if you merge multiple PRs in quick succession). Fix is by disabling concurrency, so they just queue up.
1 parent 5df49ab commit 5d03b98

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build-docs.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
pull_request:
99
branches:
1010
- main
11+
12+
# Prevent concurrent runs that could conflict when pushing to gh-pages
13+
concurrency:
14+
group: build-docs-${{ github.ref }}
15+
cancel-in-progress: false
16+
1117
permissions:
1218
contents: write
1319
jobs:

0 commit comments

Comments
 (0)