-
Notifications
You must be signed in to change notification settings - Fork 12
31 lines (31 loc) · 913 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: ci
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: npm install
- run: npm install gulp-cli
- run: gulp build
- run: pip install -Iv mkdocs-material==6.2.6
- run: pip install mkdocs-git-revision-date-localized-plugin
- run: pip install mkdocs-redirects
# - run: docker run -v ${PWD}:/docs squidfunk/mkdocs-material:6.2.6 build
- run: pip install ghp-import
# - run: mkdocs --version
- run: pip install jinja2==3.0.0
- run: pip install -r requirements.txt
- run: mkdocs build
- run: cp -R site dist/docs
- run: python ghpages.py
#- run: mkdocs gh-deploy --force --clean --config-file ./mkdocs.yml