Skip to content

Commit

Permalink
Prevent concurrent page builds
Browse files Browse the repository at this point in the history
If multiple PRs are merged in succession, don't try and try and update GitHub Pages from multiple workflow runs at the same time.
  • Loading branch information
martincostello committed Oct 29, 2023
1 parent 56ffa14 commit 0ad8eab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
publish-docs:
runs-on: ubuntu-latest

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false

permissions:
contents: write
pages: write
Expand Down

0 comments on commit 0ad8eab

Please sign in to comment.