Skip to content

Commit 87b7a68

Browse files
committed
Update docs
1 parent 50bf4c7 commit 87b7a68

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/update-docs.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Update docs
2+
on:
3+
push:
4+
branches:
5+
- master
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v2
14+
with:
15+
node-version: 14
16+
registry-url: 'https://registry.npmjs.org'
17+
18+
- name: Install mkdocs
19+
run: sudo pip install mkdocs
20+
21+
- name: Install MkDocs theme
22+
run: sudo pip install mkdocs-material==3.1.0
23+
24+
- name: Avoid hosts unknown for github
25+
run: echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config
26+
27+
- name: Build docs
28+
run: cd docs/documentation && mkdocs gh-deploy

0 commit comments

Comments
 (0)