Commit 5664e91 1 parent fca0a5f commit 5664e91 Copy full SHA for 5664e91
File tree 1 file changed +15
-9
lines changed
1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change 1
- name : ci
1
+ name : ci
2
2
on :
3
3
push :
4
4
branches :
5
- - master
5
+ - master
6
6
- main
7
7
permissions :
8
8
contents : write
9
9
jobs :
10
10
deploy :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v3
14
- - 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
15
19
with :
16
20
python-version : 3.x
17
- - uses : actions/cache@v2
21
+ - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
22
+ - uses : actions/cache@v4
18
23
with :
19
- key : ${{ github.ref }}
24
+ key : mkdocs-material- ${{ env.cache_id }}
20
25
path : .cache
21
- - run : pip install pipenv
22
- - run : pipenv install --dev
23
- - run : pipenv run mkdocs gh-deploy --force
26
+ restore-keys : |
27
+ mkdocs-material-
28
+ - run : pip install mkdocs-material
29
+ - run : mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments