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
11 changes: 9 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@ name: Zola
on:
push:
branches:
- master
- master
pull_request:
workflow_dispatch:

# Serialize deploys so concurrent runs can't race when force-pushing to
# gh-pages, which can leave the GitHub Pages deployment wedged. Queue rather
# than cancel, so a half-finished push is never interrupted.
concurrency:
group: pages-${{ github.ref }}
cancel-in-progress: false

jobs:
build:
name: Build
Expand All @@ -20,7 +27,7 @@ jobs:
BUILD_DIR: .
BUILD_ONLY: true
BUILD_FLAGS: --drafts

deploy:
name: Deploy
runs-on: ubuntu-latest
Expand Down
Loading