-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 734 Bytes
/
Copy pathdocs.yml
File metadata and controls
33 lines (29 loc) · 734 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: Docs
on:
push:
branches: [main]
paths: include/dandy/dandy.h
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Requirements
run: brew install doxygen
&& brew install sphinx-doc
&& pip3 install sphinx-rtd-theme
&& pip3 install breathe
&& pip3 install sphinx-sitemap
- name: Checkout repo
uses: actions/checkout@1.0.0
- name: Build docs
run: cd docs
&& make html
&& cd _build/html
&& touch .nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: docs
FOLDER: docs/_build/html