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
8 changes: 6 additions & 2 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ permissions:
pages: write
id-token: write

# Deploys (push to main) serialize on a single "pages" group, because only one
# deployment to GitHub Pages can be in flight at a time. PR validation builds
# get their own per-ref group so they neither cancel each other nor contend
# with a production deploy. Superseded PR builds are cancelled; deploys are not.
concurrency:
group: "pages"
cancel-in-progress: false
group: ${{ github.event_name == 'pull_request' && format('pages-pr-{0}', github.ref) || 'pages' }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

defaults:
run:
Expand Down
Loading