Derive data documentation update (#552) #405
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
# This is a basic workflow to help you get started with Actions | |
name: Deploy website to Github Pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy_docs: | |
runs-on: [ ubuntu-latest ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
pip install Jinja2==3.0.3 sphinx==5.3.0 sphinx_rtd_theme | |
- name: Build docs | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y python3-venv doxygen | |
python3 -m venv tomcat_venv | |
source tomcat_venv/bin/activate | |
pip install wheel | |
pip install -r docs/requirements.txt | |
pushd docs > /dev/null | |
mkdir build | |
cd build | |
cmake .. | |
make docs | |
popd > /dev/null | |
- name: Deploy docs to ml4ai.github.io/tomcat | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
publish_dir: ./docs/build |