papermario/.github/workflows/docs.yaml
2020-10-20 21:40:49 +01:00

26 lines
484 B
YAML

name: Doxygen
on:
push:
branches:
- master
paths:
- 'src/*'
- 'include/*'
- 'docs/*'
jobs:
deploy:
name: Build and deploy documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
uses: mattnotmitt/doxygen-action@v1
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/doxygen