-
Notifications
You must be signed in to change notification settings - Fork 181
33 lines (32 loc) · 852 Bytes
/
build-docs.yml
File metadata and controls
33 lines (32 loc) · 852 Bytes
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
name: deploy-docs
on:
push:
branches:
- master
jobs:
check-bats-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
sudo apt install doxygen
python -m pip install --upgrade pip
pip install sphinx breathe sphinx_rtd_theme sphinxcontrib-googleanalytics
- name: Build Documentation
run: |
cd docs
make html
- name: Deploy
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: docs
FOLDER: docs/build/html
CLEAN: true