File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : docs
2+ on :
3+ push :
4+ branches : [main]
5+ permissions :
6+ contents : write
7+ jobs :
8+ deploy :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v4
12+ with :
13+ fetch-depth : 0
14+
15+ - name : Configure Git Credentials
16+ run : |
17+ git config user.name github-actions[bot]
18+ git config user.email github-actions[bot]@users.noreply.github.com
19+
20+ - uses : actions/setup-python@v5
21+ with :
22+ python-version : " 3.12"
23+
24+ - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
25+
26+ - uses : actions/cache@v4
27+ with :
28+ key : mkdocs-material-${{ env.cache_id }}
29+ path : ~/.cache
30+ restore-keys : |
31+ mkdocs-material-
32+
33+ - name : Install UV
34+ run : curl -LsSf https://astral.sh/uv/0.4.18/install.sh | sh
35+
36+ - uses : extractions/setup-just@v3
37+ with :
38+ just-version : " 1.14" # optional semver specification, otherwise latest
39+
40+ - run : just docs-publish
You can’t perform that action at this time.
0 commit comments