generated from jobindjohn/obsidian-publish-mkdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 858 Bytes
/
ci.yml
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
29
30
31
name: ci
on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache
# - run: pip install -r requirements.txt
- run: pip install pymdown-extensions
- run: pip install mkdocs
- run: pip install mkdocs-material
- run: pip install mkdocs-charts-plugin
- run: pip install mkdocs-markmap
- run: pip install mkdocs-roamlinks-plugin
- run: pip install mkdocs-callouts
- run: pip install mkdocs-git-revision-date-localized-plugin
- run: pip install "mkdocstrings[python]"
- run: mkdocs gh-deploy --force