Skip to content

Merge pull request #32 from xLPMG/develop #194

Merge pull request #32 from xLPMG/develop

Merge pull request #32 from xLPMG/develop #194

Workflow file for this run

##
# @author Luca-Philipp Grumbach, Richard Hofmann
# @section DESCRIPTION
# Build the documentation using GitHub Actions.
##
name: Build documentation
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: macos-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Requirements
run: brew install doxygen
&& brew install sphinx-doc
&& pip3 install sphinx-rtd-theme
&& pip3 install breathe
&& pip3 install sphinx-sitemap
- name: Checkout repo
uses: actions/[email protected]
- name: Build docs
run: cd docs
&& make html
&& cd build/html
&& touch .nojekyll
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: docs/build/html # The folder the action should deploy.