File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed
Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -26,22 +26,14 @@ jobs:
2626 run : |
2727 mkdir -p site/docs/$REF_NAME
2828 cp -a docs/. site/docs/$REF_NAME
29- - name : Update "latest" link for tagged versions
29+ - name : Update "latest" docs for tagged versions
3030 # if: startsWith(github.ref, 'refs/tags/v')
3131 run : |
3232 cp -a docs/. site/docs/latest
33- - name : Setup Pages
34- uses : actions/configure-pages@v5
35- - name : Upload artifact for ${{ github.ref_name }}
36- uses : actions/upload-pages-artifact@v3
37- with :
38- path : ' ./site/docs/${{ github.ref_name }}'
39- - name : Upload artifact for "latest"
40- # if: startsWith(github.ref, 'refs/tags/v')
41- uses : actions/upload-pages-artifact@v3
42- with :
43- path : ' ./site/docs/latest'
4433 - name : Deploy to GitHub Pages
45- id : deployment
46- uses : actions/deploy-pages@v4
34+ uses : peaceiris/actions-gh-pages@v4
35+ with :
36+ github_token : ${{ secrets.GITHUB_TOKEN }}
37+ publish_dir : ./site
38+ keep_files : true
4739
You can’t perform that action at this time.
0 commit comments