File tree Expand file tree Collapse file tree 1 file changed +5
-29
lines changed
Expand file tree Collapse file tree 1 file changed +5
-29
lines changed Original file line number Diff line number Diff line change 66 - main
77permissions :
88 contents : write
9- id-token : write
10- pages : write
11-
129jobs :
1310 deploy :
1411 runs-on : ubuntu-latest
1512 steps :
16- - uses : actions/checkout@v4
13+ - uses : actions/checkout@v6
1714 - uses : actions/setup-python@v4
1815 with :
1916 python-version : 3.x
20-
21- - name : Set up build cache
22- uses : actions/cache/restore@v4
17+ - uses : actions/cache@v4
2318 with :
24- key : mkdocs-material-${{ hashfiles('.cache/**') }}
25- path : ~/.cache
26- restore-keys : |
27- mkdocs-material-
28-
19+ key : ${{ github.ref }}
20+ path : .cache
2921 - run : pip install mkdocs-material
3022 - run : pip install pillow cairosvg
31-
32- - name : Build documentation
33- run : |
34- mkdocs build --clean
35- mkdocs --version
36- - name : Deploy to GitHub Pages
37- uses : peaceiris/actions-gh-pages@v4
38- with :
39- github_token : ${{ secrets.GITHUB_TOKEN }}
40- publish_dir : ././site
41- keep_files : false
42-
43- - name : Save build cache
44- uses : actions/cache/save@v4
45- with :
46- key : mkdocs-material-${{ hashfiles('.cache/**') }}
47- path : ~/.cache
23+ - run : mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments