We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f80a110 commit 69968dcCopy full SHA for 69968dc
.github/workflows/docs-publish.yml
@@ -0,0 +1,28 @@
1
+name: Docs Publish
2
+on:
3
+ push:
4
+ branches:
5
+ - docs
6
+permissions:
7
+ contents: write
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
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
+ - uses: actions/setup-python@v5
18
+ with:
19
+ python-version: 3.x
20
+ - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
21
+ - uses: actions/cache@v4
22
23
+ key: mkdocs-material-${{ env.cache_id }}
24
+ path: .cache
25
+ restore-keys: |
26
+ mkdocs-material-
27
+ - run: pip install mkdocs-material mkdocs-autorefs mkdocstrings
28
+ - run: mkdocs gh-deploy --force
0 commit comments