Add deploy docs release action.

This commit is contained in:
h2zero 2022-10-30 11:10:03 -06:00
parent f63a6ddc61
commit 63ff098b00

22
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Release
on:
release:
types: [published]
workflow_dispatch:
jobs:
build_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Doxygen Action
uses: mattnotmitt/doxygen-action@v1.9.1
with:
working-directory: 'docs/'
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/doxydocs/html