File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,18 +33,13 @@ jobs:
3333 build_and_deploy : # builds the distribution and then the documentation
3434 needs : get_history
3535 runs-on : ubuntu-latest
36- environment :
37- name : release
38- url : ${{ steps.deployment.outputs.page_url }}
3936 permissions :
4037 contents : write
41- pages : write
42- id-token : write
4338 steps :
4439 - name : Checkout src
4540 uses : actions/checkout@v5
4641 with :
47- token : ${{ secrets.GITHUB_TOKEN }}
42+ token : ${{ github.token }}
4843
4944 - name : Download the existing documents artifact
5045 uses : actions/download-artifact@v6
6762 - name : Run cleanup and manage document versions
6863 run : node scripts/manage-doc-versions.js
6964
70- - name : Setup Pages
71- uses : actions/configure-pages@v4
72-
73- - name : Upload pages artifact
74- uses : actions/upload-pages-artifact@v3
75- with :
76- path : docs
77-
7865 - name : Deploy to GitHub Pages
79- id : deployment
80- uses : actions/deploy-pages@v4
66+ uses : peaceiris/actions-gh-pages@v4
67+ with :
68+ github_token : ${{ github.token }}
69+ publish_dir : ./docs
70+ keep_files : false
You can’t perform that action at this time.
0 commit comments