Skip to content

Update sphinx.yml

Update sphinx.yml #194

Workflow file for this run

name: Doc build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Doxygen:Install
run: sudo apt-get install -y libboost-all-dev doxygen
- name: Doxygen:CheckOut
uses: actions/checkout@v3
- name: Doxygen:cmake
continue-on-error: true
run: |
mkdir build && cd build && cmake ..
- name: Doxygen:Compile
run: |
cd build/doc/ && doxygen && mv xml ../../docs/
- name: Sphinx:BuildHTML
uses: ammaraskar/sphinx-action@master
- name: Sphinx:UploadArtifacts
uses: actions/upload-artifact@v3
with:
name: html-docs
path: docs/build/html/
- name: Sphinx:Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/devel'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html