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
6 changes: 5 additions & 1 deletion .github/workflows/deploy-to-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
push:
branches:
- main
pull_request:
pull_request: # builds only; the deploy step below is skipped

jobs:
deploy:
Expand All @@ -33,6 +33,10 @@ jobs:
with:
path: ./_site

# Pull requests stop at the build: a green check means the site compiles,
# not that it shipped. Without this, opening a PR published it straight to
# production.
- name: Deploy to GitHub Pages
id: deployment
if: github.event_name != 'pull_request'
uses: actions/deploy-pages@v4
Loading