From 9733a2153026f8cb7802e95aebc1272fcf2ac106 Mon Sep 17 00:00:00 2001 From: Benedikt Galbavy Date: Wed, 17 Apr 2024 10:19:19 +0200 Subject: [PATCH] Switched to different action --- .github/workflows/doxygen.yaml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/doxygen.yaml b/.github/workflows/doxygen.yaml index 4e27fbc..43f8c1f 100644 --- a/.github/workflows/doxygen.yaml +++ b/.github/workflows/doxygen.yaml @@ -1,8 +1,9 @@ on: push: - branches: - - main - - documentation + branches: [ main, documentation ] + pull_request: + branches: [ main ] + permissions: contents: write @@ -12,12 +13,13 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Action Doxygen and GitHub Pages - id: ghaction - uses: AgarwalSaurav/ghaction-doxygen-ghpages@v2.0.0 + with: + submodules: 'true' # might need recursive, tbd + - name: Doxygen Action + uses: mattnotmitt/doxygen-action@v1.1.0 + # defaults to ./Doxygen + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - doxyfile-path: Doxyfile - working-directory: . - html-output-folder: docs/html - branch: gh-pages + publish_dir: ./docs/html