File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,18 @@ jobs:
2828 with :
2929 name : documentation
3030 path : documentation.tar
31+ retention-days : 1
3132
32- build : # builds the distribution and then the documentation
33+ build_and_deploy : # builds the distribution and then the documentation
3334 needs : get_history
3435 runs-on : ubuntu-latest
36+ permissions :
37+ contents : write
3538 steps :
3639 - name : Checkout src
3740 uses : actions/checkout@v5
41+ with :
42+ token : ${{ github.token }}
3843
3944 - name : Download the existing documents artifact
4045 uses : actions/download-artifact@v6
5762 - name : Run cleanup and manage document versions
5863 run : node scripts/manage-doc-versions.js
5964
60- - name : Deploy to github pages using gh-pages
61- run : npx gh-pages -d docs
65+ - name : Deploy to GitHub Pages
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