-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (28 loc) · 736 Bytes
/
ci.yml
File metadata and controls
28 lines (28 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: ci
on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Running on github actions might lead to wrong git revision dates due to a shallow git fetch depth.
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache
- run: pip install mkdocs-material
- run: pip install mkdocs-roamlinks-plugin
- run: pip install mkdocs-rss-plugin
# - run: pip install mkdocs-mermaid2-plugin
- run: mkdocs gh-deploy --force