File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change 1
- name : ci
1
+ name : Deploy Mkdocs to GitHub Pages
2
+
2
3
on :
3
- push :
4
- branches :
5
- - master
4
+ pull_request :
5
+
6
6
jobs :
7
- deploy :
7
+ build :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout@v2
10
+ - name : Checkout
11
+ uses : actions/checkout@v4
11
12
with :
12
13
fetch-depth : 0
13
- - uses : actions/setup-python@v2
14
+ - name : Setup Pages
15
+ uses : actions/configure-pages@v5
16
+ - uses : actions/setup-python@v5
14
17
with :
15
18
python-version : 3.x
16
- - run : mkdir -p site
17
- - run : pip install mkdocs
18
- - run : pip install mkdocs-material
19
- - run : pip install mkdocs-video
20
- - run : pip install git+https://github.com/srymh/MkdocsTagPlugin.git@ac1f02ba95527d11d84b5ec87f4e63851d57fc7d
21
- - run : pip install git+https://github.com/rkoe/mkdocs-emailprotect@ef91e3dda367bd6a3f65dda183559e1b929d6240
22
- - run : pip install mkdocs-git-revision-date-localized-plugin
23
- - run : pip install mkdocs-awesome-nav
24
- - run : mkdocs gh-deploy --force
19
+ - name : Install dependencies
20
+ run : pip install -r requirements.txt
21
+ - name : Make a folder to stop a stupid error
22
+ run : mkdir -p _site
23
+ - name : Build mkdocs
24
+ run : mkdocs build --clean --verbose --site-dir _site
25
+ - name : Upload artifact
26
+ uses : actions/upload-pages-artifact@v3
You can’t perform that action at this time.
0 commit comments