File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish Docs manually
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ jobs :
7
+ docs-publish :
8
+ runs-on : ubuntu-latest
9
+ permissions :
10
+ contents : write
11
+ steps :
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
17
+
18
+ - name : Install uv
19
+ uses : astral-sh/setup-uv@v3
20
+ with :
21
+ enable-cache : true
22
+
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
+
31
+ - run : uv sync --frozen --group docs
32
+ - run : uv run --no-sync mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments