blob: cddd438cd527d4d3b264d249675462072ae1db5d [file] [log] [blame]
name: Documentation
on:
push:
branches:
- master
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: dependencies
env:
dependency_packages: doxygen
run: sudo apt-get update && sudo apt-get -y install ${dependency_packages}
- name: build
run: cd doc && doxygen ./Doxyfile
- name: deploy
uses: peaceiris/actions-gh-pages@v2.2.0
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./doc/html