Skip to content

Commit 12af26e

Browse files
authored
CI: Queue up doc pushes (#10)
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 afb6565 commit 12af26e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
- 'mkdocs.yaml'
99
- '.github/workflows/deploy-docs.yml'
1010

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

0 commit comments

Comments
 (0)