Skip to content

Commit 7585316

Browse files
authored
Update gh-pages.yml
1 parent 5676da6 commit 7585316

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/gh-pages.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
jobs:
77
build:
88
runs-on: ubuntu-latest
9+
environment:
10+
name: github-pages
11+
url: ${{ steps.deployment.outputs.page_url }}
912
permissions:
1013
id-token: write
1114
pages: write
@@ -25,7 +28,9 @@ jobs:
2528
uses: sphinx-notes/pages@v3
2629
with:
2730
requirements_path: ./docs/doc_requirements.txt
28-
- name: Deploy GitHub Pages site
29-
id: deployment
30-
uses: actions/deploy-pages@main
31+
- name: Push changes
32+
uses: ad-m/github-push-action@master
33+
with:
34+
github_token: ${{ secrets.GITHUB_TOKEN }}
35+
branch: gh-pages
3136

0 commit comments

Comments
 (0)