Skip to content

Commit

Permalink
Update gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AtsushiSakai authored Dec 3, 2023
1 parent 5676da6 commit 7585316
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
id-token: write
pages: write
Expand All @@ -25,7 +28,9 @@ jobs:
uses: sphinx-notes/pages@v3
with:
requirements_path: ./docs/doc_requirements.txt
- name: Deploy GitHub Pages site
id: deployment
uses: actions/deploy-pages@main
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages

0 comments on commit 7585316

Please sign in to comment.