Skip to content

Merge pull request #482 from lf-lang/fix-action-present-bug #293

Merge pull request #482 from lf-lang/fix-action-present-bug

Merge pull request #482 from lf-lang/fix-action-present-bug #293

Workflow file for this run

name: API docs
on:
push:
branches: [ main ]
jobs:
build:
runs-on: macos-latest
steps:
- name: Requirements
run: |
brew install doxygen
brew install sphinx-doc
python3 -m venv .venv
source .venv/bin/activate
pip3 install sphinx-rtd-theme
pip3 install breathe
pip3 install sphinx-sitemap
pip3 install exhale
- name: Checkout repo
uses: actions/checkout@1.0.0
- name: Build docs
run: cd docs
&& make doxygen
&& cd _build/html
&& touch .nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: docs/_build/html # The folder the action should deploy.