File tree Expand file tree Collapse file tree 1 file changed +5
-17
lines changed
Expand file tree Collapse file tree 1 file changed +5
-17
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,8 @@ permissions:
1212jobs :
1313 deploy :
1414 runs-on : ubuntu-latest
15- environment :
16- name : github-pages
17- url : ${{steps.deployment.outputs.page_url}}
1815 steps :
19- - uses : actions/checkout@v6
16+ - uses : actions/checkout@v4
2017 - uses : actions/setup-python@v4
2118 with :
2219 python-version : 3.x
@@ -36,20 +33,11 @@ jobs:
3633 run : |
3734 mkdocs build --clean
3835 mkdocs --version
39-
40- - name : Adjust permissions
41- run : |
42- chmod -c -R +rX site/ | while read line; do
43- echo "::warning title=Invalid file permissions automatically fixed::$line"
44- done
45-
46- - name : Upload to GitHub Pages
47- uses : actions/upload-pages-artifact@v4
48- with :
49- path : site
50-
5136 - name : Deploy to GitHub Pages
52- uses : actions/deploy-pages@v4
37+ uses : peaceiris/actions-gh-pages@v4
38+ with :
39+ github_token : ${{ secrets.GITHUB_TOKEN }}
40+ publish_dir : ./site
5341
5442 - name : Save build cache
5543 uses : actions/cache/save@v4
You can’t perform that action at this time.
0 commit comments