nvf/.github/workflows/docs-deploy.yml
2026-03-06 22:01:09 +01:00

29 lines
587 B
YAML

name: "Deploy Documentation"
on:
workflow_dispatch:
push:
branches:
- gh-pages
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./
cname: nvf.notashelf.dev