Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 6 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ name: Deploy to GitHub Pages
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:

permissions: {}

concurrency:
group: pages
group: pages-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand All @@ -31,7 +32,11 @@ jobs:
HUGO_BASEURL: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/
run: mise run build-docs

# Only publish from pushes to main. On pull requests the steps above
# still run (building the docs and exercising `mise install --locked`),
# so a broken lockfile or docs build is caught before merge.
- name: Push rendered site to gh-pages
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
20 changes: 20 additions & 0 deletions mise.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading