We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79fe760 commit 4e7bfbdCopy full SHA for 4e7bfbd
1 file changed
.github/workflows/deploy_docs.yml
@@ -0,0 +1,27 @@
1
+name: Deploy MkDocs static site
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+permissions:
9
+ contents: write
10
11
+jobs:
12
+ deploy:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - uses: actions/setup-python@v5
17
+ with:
18
+ python-version: 3.x
19
+ - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
20
+ - uses: actions/cache@v4
21
22
+ key: mkdocs-material-${{ env.cache_id }}
23
+ path: ~/.cache
24
+ restore-keys: |
25
+ mkdocs-material-
26
+ - run: pip install -r requirements-docs.txt
27
+ - run: mkdocs gh-deploy --force
0 commit comments