docs: fix deploy

This commit is contained in:
Snoweuph 2026-03-06 21:57:57 +01:00
commit 83599065e8
No known key found for this signature in database
GPG key ID: BEFC41DA223CEC55
2 changed files with 29 additions and 62 deletions

29
.github/workflows/docs-deploy.yml vendored Normal file
View file

@ -0,0 +1,29 @@
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