Gh pages deploy workflow (#608)
Build and deploys doxygen docs to a gh-pages branch so they can be hosted in GitHub pages.
This commit is contained in:
parent
3c4a34968a
commit
d18a4a6bbd
29
.github/workflows/Docs.yaml
vendored
Normal file
29
.github/workflows/Docs.yaml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: Publish Docs
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install Doxygen
|
||||
run: sudo apt-get install -y doxygen
|
||||
|
||||
- name: Build Doxygen Documentation
|
||||
run: doxygen ./Doxyfile
|
||||
|
||||
- name: Deploy Documentation
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
folder: ./Docs/html
|
||||
branch: gh-pages
|
Loading…
x
Reference in New Issue
Block a user