Use Github Actions for Doxygen

This commit is contained in:
pantor
2019-09-08 15:20:15 +02:00
committed by GitHub
parent 419c93c840
commit 3b083a8297

25
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Documentation
on:
push:
branches:
- master
jobs:
build-deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- name: build
run: |
apt -y install doxygen
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