Skip to content

Commit 9538167

Browse files
authored
Create jekyll-gh-pages.yml
1 parent 8dba4e9 commit 9538167

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- "**.md"
9+
- "mkdocs.yml"
10+
workflow_dispatch:
11+
12+
jobs:
13+
docs:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
with:
18+
fetch-depth: 0
19+
- uses: actions/setup-python@v2
20+
- run: pip install --upgrade pip && pip install mkdocs mkdocs-gen-files
21+
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
22+
- name: Publish docs
23+
run: mkdocs gh-deploy

0 commit comments

Comments
 (0)