Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/sphinx-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ on:
push:
pull_request:

# Serialize runs for the same ref so two near-simultaneous pushes to main
# don't race to force-push gh-pages. Without this, the second deploy fails
# with "cannot lock ref 'refs/heads/gh-pages'" because the first run advanced
# the branch after the second had already read its tip. Queue rather than
# cancel (cancel-in-progress: false) so every commit's docs still deploy.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

jobs:
docs:
runs-on: ubuntu-latest
Expand Down