We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df8b37e commit 5ab5feeCopy full SHA for 5ab5fee
.github/workflows/docs.yml
@@ -0,0 +1,35 @@
1
+on:
2
+ push:
3
+ branches:
4
+ - main
5
+ paths:
6
+ - 'docs/**'
7
+ pull_request:
8
9
10
11
12
+ release:
13
+ types:
14
+ - released
15
+jobs:
16
+ pages:
17
+ runs-on: ubuntu-20.04
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - name: Configure Git Credentials
21
+ run: |
22
+ git config user.name github-actions[bot]
23
+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
24
+ - uses: actions/setup-python@v5
25
+ with:
26
+ python-version: 3.x
27
+ - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
28
+ - uses: actions/cache@v4
29
30
+ key: mkdocs-material-${{ env.cache_id }}
31
+ path: .cache
32
+ restore-keys: |
33
+ mkdocs-material-
34
+ - run: poetry install
35
+ - run: poetry run mkdocs gh-deploy --force
0 commit comments