Attempt to use github actions for Doxygen docs

This commit is contained in:
Stephen Seo 2021-09-08 17:42:43 +09:00
parent 79748d58f1
commit 7b512958fd
1 changed files with 26 additions and 0 deletions

26
.github/workflows/gh-pages.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: GitHub Pages Generated Doxygen Docs
on:
push:
branches:
- master
jobs:
build-deploy-doxygen-docs:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Generate Doxygen Documentation
uses: mattnotmitt/doxygen-action@v1
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doxygen_html/html