diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/doxygen-gh-pages.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/doxygen-gh-pages.yml b/.github/doxygen-gh-pages.yml new file mode 100644 index 0000000..7323d7e --- /dev/null +++ b/.github/doxygen-gh-pages.yml @@ -0,0 +1,33 @@ +name: Deploy Doxygen Documentation + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install Doxygen + run: | + sudo apt-get update + sudo apt-get install -y doxygen graphviz + + - name: Generate Doxygen Documentation + run: doxygen Doxyfile + + - name: Deploy to GitHub Pages + if: github.ref == 'refs/heads/main' # Only deploy on main branch + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs/html + enable_jekyll: false + full_commit_message: Deploy Doxygen documentation
\ No newline at end of file |
