File tree 1 file changed +17
-3
lines changed
1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 1
- name : Deploy Wiki
1
+ name : ci
2
2
on :
3
3
push :
4
- branches : [main]
4
+ branches :
5
+ - main
6
+ permissions :
7
+ contents : write
5
8
jobs :
6
9
deploy :
7
10
runs-on : ubuntu-latest
8
11
steps :
9
12
- uses : actions/checkout@v4
13
+ - name : Configure Git Credentials
14
+ run : |
15
+ git config user.name github-actions[bot]
16
+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
10
17
- uses : actions/setup-python@v5
11
18
with :
12
19
python-version : 3.x
13
- - run : pip install mkdocs-material
20
+ - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
21
+ - uses : actions/cache@v4
22
+ with :
23
+ key : mkdocs-material-${{ env.cache_id }}
24
+ path : .cache
25
+ restore-keys : |
26
+ mkdocs-material-
27
+ - run : pip install mkdocs-material
14
28
- run : mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments