-
Notifications
You must be signed in to change notification settings - Fork 32
46 lines (37 loc) · 1.07 KB
/
gh-pages.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
38
39
40
41
42
43
44
45
46
name: github pages
on:
push:
branches:
- docs
jobs:
build-deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v1
with:
fetch-depth: 1
submodules: true
- name: Setup Python 🐍
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- name: Install Pip Requirements 🐷
run: pip install -r requirements.txt
- name: Install doxygen 🧪
uses: ssciwr/doxygen-install@v1
- name: Clone libigl & run doxygen 🤖
run: |
git clone https://github.com/libigl/libigl/
cd libigl/
(cat docs/doxygen.conf ; echo "OUTPUT_DIRECTORY=../docs/") | doxygen -
- name: Build website 🛠
shell: bash
run: mkdocs build
- name: Deploy to GH Pages 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: site