-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (30 loc) · 881 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
32
name: ci
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install
working-directory: ./
run: |
npm i -g obsidian-mkdocs
- name: Create file
run: obsidian-mkdocs
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"
- name: Install Python dependencies
working-directory: ./.publish
run: pip install -r requirements.txt
- name: MkDocs
working-directory: ./.publish
run: mkdocs gh-deploy --force --clean