-
Notifications
You must be signed in to change notification settings - Fork 8
35 lines (29 loc) · 806 Bytes
/
Copy pathwiki.yaml
File metadata and controls
35 lines (29 loc) · 806 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
29
30
31
32
33
34
35
name: Publish Wiki
on:
push:
branches:
- main
paths:
- "docs/**"
- "README.md"
workflow_dispatch:
concurrency:
group: docs
cancel-in-progress: true
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- run: cp README.md docs/wiki/Home.md
- uses: Andrew-Chen-Wang/github-wiki-action@64efa0a9436db17670a2259e0ac249d6f08bb352 # v5
with:
path: docs/wiki
- uses: actions-ext/python/setup@main
- run: pip install nbconvert
- run: jupyter nbconvert examples/Client.ipynb --to markdown --output ../docs/wiki/Client.md
- uses: Andrew-Chen-Wang/github-wiki-action@v5
with:
path: docs/wiki