From 931282b8390203961df89a8a072eca3b13c247ca Mon Sep 17 00:00:00 2001 From: ngpaladi Date: Sun, 2 Feb 2025 16:16:09 -0500 Subject: [PATCH 1/2] Add Automatic Doxygen Build and Deploy to GitHub Pages --- .github/workflows/DoxygenBuild.yml | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/DoxygenBuild.yml diff --git a/.github/workflows/DoxygenBuild.yml b/.github/workflows/DoxygenBuild.yml new file mode 100644 index 000000000..be3eb1932 --- /dev/null +++ b/.github/workflows/DoxygenBuild.yml @@ -0,0 +1,33 @@ +name: Deploy Doxygen Documentation to Pages + +on: + push: + branches: [master] # branch to trigger deployment + +jobs: + pages: + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + permissions: + pages: write + id-token: write + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + with: + submodules: "true" + - name: Install Dependencies + run: sudo apt-get update && sudo apt-get install -y doxygen make graphviz + shell: bash + - name: Build Documentation + id: build + run: cd doc && make html && touch html/.nojekyll + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: html/ + - name: Deploy + id: deployment + uses: actions/deploy-pages@v4 \ No newline at end of file From cc1a8b76c782aa5751afa226c9a2a7a563d94f01 Mon Sep 17 00:00:00 2001 From: ngpaladi Date: Sun, 2 Feb 2025 16:17:38 -0500 Subject: [PATCH 2/2] Fix Path --- .github/workflows/DoxygenBuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/DoxygenBuild.yml b/.github/workflows/DoxygenBuild.yml index be3eb1932..5a86b7425 100644 --- a/.github/workflows/DoxygenBuild.yml +++ b/.github/workflows/DoxygenBuild.yml @@ -27,7 +27,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: html/ + path: doc/html/ - name: Deploy id: deployment uses: actions/deploy-pages@v4 \ No newline at end of file