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 8a90510 commit 0c96a48Copy full SHA for 0c96a48
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,33 @@
1
+name: deploy
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
+ - name: Configure Git Credentials
17
+ run: |
18
+ git config user.name github-actions[bot]
19
+ git config user.email github-actions[bot]@users.noreply.github.com
20
+ - uses: actions/setup-python@v5
21
+ with:
22
+ python-version: 3.x
23
+ - name: Set cache ID
24
+ id: cache-id
25
+ run: echo "date=$(date --utc '+%V')" >> $GITHUB_OUTPUT
26
+ - uses: actions/cache@v4
27
28
+ key: mkdocs-material-${{ steps.cache-id.outputs.date }}
29
+ path: ~/.cache
30
+ restore-keys: |
31
+ mkdocs-material-
32
+ - run: pip install mkdocs-material
33
+ - run: mkdocs gh-deploy --force
0 commit comments