File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : ci
1+ name : ci
22on :
33 push :
44 branches :
5+ - master
56 - main
67permissions :
78 contents : write
89jobs :
910 deploy :
1011 runs-on : ubuntu-latest
1112 steps :
12- - uses : actions/checkout@v3
13- - uses : actions/setup-python@v4
13+ - uses : actions/checkout@v4
14+ - name : Configure Git Credentials
15+ run : |
16+ git config user.name github-actions[bot]
17+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
18+ - uses : actions/setup-python@v5
1419 with :
1520 python-version : 3.x
16- - uses : actions/cache@v2
21+ - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
22+ - uses : actions/cache@v4
1723 with :
18- key : ${{ github.ref }}
24+ key : mkdocs-material- ${{ env.cache_id }}
1925 path : .cache
20- - run : pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
26+ restore-keys : |
27+ mkdocs-material-
28+ - run : pip install mkdocs-material
2129 - run : pip install mkdocs-table-reader-plugin
2230 - run : mkdocs gh-deploy --force
23- env :
24- GH_TOKEN : ${{ secrets.GH_TOKEN }}
You can’t perform that action at this time.
0 commit comments