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