Repository navigation
86 lines (71 loc) · 2.14 KB
/
Copy pathdocs.yml
File metadata and controls
86 lines (71 loc) · 2.14 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name: Build docs
on:
push:
branches:
- master
release:
branches:
- master
env:
PYTHON_VERSION: 3.x
jobs:
docs:
name: Building Docs
runs-on: ubuntu-latest
steps:
- name: LGTM
run: echo "LGTM" #TODO, uncomment
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-python@v2
# with:
# python-version: 3.7
# - name: Install Reqs
# run: |
# python -m pip install --upgrade pip
# python -m pip install -r tools/requirements/default.txt
# python -m pip install -r tools/requirements/build-docs.txt
# python -m pip install .
# - name: Building Docs
# run: |
# cd docs
# make clean
# make html
# - name: Upload Artifacts
# uses: actions/upload-artifact@v2
# with:
# name: docs
# path: docs/source/build/html
# steps:
# - name: LGTM
# run: echo "LGTM" #TODO, uncomment
# env:
# GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
# GIT_NAME: ${{ secrets.GIT_NAME }}
# GIT_EMAIL: ${{ secrets.GIT_EMAIL }}
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-python@v2
# with:
# python-version: ${{ env.PYTHON_VERSION }}
# - name: Install Caer
# run: |
# python -m pip install --upgrade pip wheel
# pip install .[asyncio]
# if: success()
# - name: Install build deps
# run: |
# pip install -U mkdocs mkdocs-material mkdocs-git-revision-date-localized-plugin mkdocs-minify-plugin mkdocstrings mkdocs-exclude
# if: success()
# - name: Configure
# run: |
# REMOTE="https://${GIT_TOKEN}@github.com/${GITHUB_REPOSITORY}"
# git config --global user.name "${GIT_NAME}"
# git config --global user.email "${GIT_EMAIL}"
# git remote set-url origin ${REMOTE}
# if: success()
# - name: Deploy
# run: |
# mkdocs gh-deploy --force
# mkdocs --version
# if: success()