Commit 22f8af6 1 parent 5e28c8d commit 22f8af6 Copy full SHA for 22f8af6
File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build docs
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ strategy :
9
+ matrix :
10
+ python-version : [3.7]
11
+
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - name : Set up Python ${{ matrix.python-version }}
15
+ uses : actions/setup-python@v2
16
+ with :
17
+ python-version : ' 3.x'
18
+
19
+ - name : Install deps
20
+ run : |
21
+ python -m pip install --upgrade pip setuptools
22
+ pip install mkdocs
23
+ pip install -r mkdocs_plugin/requirements.txt
24
+
25
+ - name : Install current plugin
26
+ run : |
27
+ python mkdocs_plugin/setup.py install --force
28
+ pip freeze
29
+
30
+ - name : Build docs
31
+ run : |
32
+ python -m mkdocs build --clean --site-dir html --config-file mkdocs.yml
You can’t perform that action at this time.
0 commit comments