bump to rebuild #92
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |