From 7585316933cee2febfc0a2cd68a13336020adbbc Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Sun, 3 Dec 2023 21:35:30 +0900 Subject: [PATCH] Update gh-pages.yml --- .github/workflows/gh-pages.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 42ec54f4e1..17fa1d76ca 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -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 @@ -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