Commit c1be6fa 1 parent 7726b63 commit c1be6fa Copy full SHA for c1be6fa
File tree 3 files changed +31
-13
lines changed
3 files changed +31
-13
lines changed Original file line number Diff line number Diff line change
1
+ name : MKDocs
2
+ on :
3
+ push :
4
+ branches : [ master ]
5
+ pull_request :
6
+ branches : [ master ]
7
+ jobs :
8
+ deploy :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - name : Setup Python
13
+ uses : actions/setup-python@v2
14
+ with :
15
+ python-version : 3.8
16
+ - name : Install dependencies
17
+ run : |
18
+ python -m pip install --upgrade pip
19
+ pip install mkdocs mkdocs-material pygments pymdown-extensions
20
+ - name : Build mkdocs
21
+ run : |
22
+ mkdocs build --verbose -d build
23
+ - name : Deploy on Github Pages
24
+ uses : JamesIves/github-pages-deploy-action@releases/v3
25
+ if : github.ref == 'refs/heads/master'
26
+ with :
27
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
+ BRANCH : gh-pages
29
+ FOLDER : build
Original file line number Diff line number Diff line change 1
1
site
2
- .vscode
2
+ .vscode
3
+ /build
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments