Update gh-pages.yml

This commit is contained in:
Atsushi Sakai
2023-12-03 21:35:30 +09:00
committed by GitHub
parent 5676da661f
commit 7585316933

View File

@@ -6,6 +6,9 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions: permissions:
id-token: write id-token: write
pages: write pages: write
@@ -25,7 +28,9 @@ jobs:
uses: sphinx-notes/pages@v3 uses: sphinx-notes/pages@v3
with: with:
requirements_path: ./docs/doc_requirements.txt requirements_path: ./docs/doc_requirements.txt
- name: Deploy GitHub Pages site - name: Push changes
id: deployment uses: ad-m/github-push-action@master
uses: actions/deploy-pages@main with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages