forked from lucadentella/WiThrottle
-
Notifications
You must be signed in to change notification settings - Fork 3
37 lines (35 loc) · 876 Bytes
/
docs.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
32
33
34
35
36
37
name: Docs
on:
push:
branches:
- 'main'
- 'Master'
pull_request:
branches:
- 'main'
- 'Master'
workflow_dispatch:
branches:
- 'main'
- 'Master'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Requirements
run: |
pip3 install -r requirements.txt
sudo apt-get install doxygen
- name: Build docs
run: |
cd docs
make github
touch _build/html/.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@ba1486788b0490a235422264426c45848eac35c6
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: docs/_build/html # The folder the action should deploy.