mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-06-10 07:00:00 +00:00
docs: fix deploy
This commit is contained in:
parent
daf181249b
commit
83599065e8
2 changed files with 29 additions and 62 deletions
29
.github/workflows/docs-deploy.yml
vendored
Normal file
29
.github/workflows/docs-deploy.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue