-
Notifications
You must be signed in to change notification settings - Fork 62
31 lines (29 loc) · 991 Bytes
/
website.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: website
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
persist-credentials: false
- name: Sphinx
run: |
sudo apt-get install -y python3-setuptools \
doxygen graphviz
sudo -H pip3 install sphinx sphinxemoji recommonmark
- name: Build
run: |
cd Website
make html
cd build/html
mkdir -p Doxygen_build && cd Doxygen_build
cmake ../../../Doxygen && make && mv html ../Doxygen
cd ..
touch .nojekyll
- name: Publish
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: Website/build/html