Skip to content

Commit 1dfc7fc

Browse files
committed
add mkdocs
1 parent 3f2812f commit 1dfc7fc

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/mkdocs.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: mkdocs (Manual Step)
2+
permissions: {} # yamllint disable-line rule:braces
3+
4+
on:
5+
workflow_dispatch:
6+
7+
jobs:
8+
mkdocs:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
13+
steps:
14+
# Install Python
15+
- name: Install Python
16+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
17+
with:
18+
python-version: 3.x
19+
20+
# Install Py dependencies
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install mkdocs-material
25+
26+
# Build WWW page
27+
- name: Build page
28+
run: cd www && mkdocs gh-deploy --force
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)