From d18a4a6bbd600ecf0c71701c979b3c50e4b0a384 Mon Sep 17 00:00:00 2001 From: Graham Pentheny Date: Sat, 18 Mar 2023 17:27:33 -0400 Subject: [PATCH] Gh pages deploy workflow (#608) Build and deploys doxygen docs to a gh-pages branch so they can be hosted in GitHub pages. --- .github/workflows/Docs.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/Docs.yaml diff --git a/.github/workflows/Docs.yaml b/.github/workflows/Docs.yaml new file mode 100644 index 0000000..3595dff --- /dev/null +++ b/.github/workflows/Docs.yaml @@ -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