We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 877c58c commit 4176bc4Copy full SHA for 4176bc4
.github/workflows/deploy_docs.yml
@@ -0,0 +1,28 @@
1
+name: Deploy docs
2
+on:
3
+ push:
4
+ paths:
5
+ - 'mkdocs.yml'
6
+ - '_docs/**'
7
+ branches:
8
+ - main
9
+permissions:
10
+ contents: write
11
+jobs:
12
+ deploy_docs:
13
+ name: Deploy docs
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: actions/setup-python@v4
18
+ with:
19
+ python-version: 3.x
20
+ - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
21
+ - uses: actions/cache@v3
22
23
+ key: mkdocs-material-${{ env.cache_id }}
24
+ path: .cache
25
+ restore-keys: |
26
+ mkdocs-material-
27
+ - run: pip install mkdocs-material
28
+ - run: mkdocs gh-deploy --force
0 commit comments