File tree Expand file tree Collapse file tree 2 files changed +21
-7
lines changed Expand file tree Collapse file tree 2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 16
16
steps :
17
17
- name : Checkout Repository
18
18
uses : actions/checkout@v4
19
-
20
- - name : Deploy Docs
21
- uses : mhausenblas/mkdocs-deploy-gh-pages@master
22
- env :
23
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
19
+ - name : Configure Git Credentials
20
+ run : |
21
+ git config user.name github-actions[bot]
22
+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
23
+ - uses : actions/setup-python@v5
24
+ with :
25
+ python-version : 3.x
26
+ - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
27
+ - uses : actions/cache@v4
28
+ with :
29
+ key : mkdocs-material-${{ env.cache_id }}
30
+ path : ~/.cache
31
+ restore-keys : |
32
+ mkdocs-material-
33
+ - run : pip install mkdocs-material
34
+ - run : mkdocs gh-deploy --force
Original file line number Diff line number Diff line change 1
1
name : mesh_navigation_docs
2
2
dependencies :
3
3
- python=3.12
4
- - mkdocs>=1.6
5
- - mkdocs-material
4
+ - pip
5
+
6
+ - pip :
7
+ - mkdocs-material>=9.6
8
+ - mkdocs>=1.6
You can’t perform that action at this time.
0 commit comments