mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 08:53:05 +00:00
update docs workflow (#1832)
This commit is contained in:
parent
c1d4fef194
commit
74ff14eb30
1 changed files with 6 additions and 1 deletions
7
.github/workflows/docs.yml
vendored
7
.github/workflows/docs.yml
vendored
|
@ -31,7 +31,7 @@ jobs:
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: mkdocs build --strict
|
run: mkdocs build --strict
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v1
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: ./site
|
path: ./site
|
||||||
|
|
||||||
|
@ -39,9 +39,14 @@ jobs:
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
permissions:
|
||||||
|
pages: write
|
||||||
|
id-token: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
|
- name: Configure Pages
|
||||||
|
uses: actions/configure-pages@v4
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v4
|
||||||
|
|
Loading…
Reference in a new issue