Skip to content

Commit 67b615b

Browse files
committed
chore: update cicd
1 parent 4dd52c2 commit 67b615b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/default.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 🔨 Build mkdocs
2+
on:
3+
pull_request:
4+
5+
concurrency:
6+
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-runner
7+
cancel-in-progress: true
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v4
15+
with:
16+
python-version: 3.x
17+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
18+
- uses: actions/cache@v3
19+
with:
20+
key: mkdocs-material-${{ env.cache_id }}
21+
path: .cache
22+
restore-keys: |
23+
mkdocs-material-
24+
- run: pip install mkdocs-material
25+
- run: mkdocs build

0 commit comments

Comments
 (0)