diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 90dc55d..454d91b 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -2,13 +2,8 @@ name: Documentation on: push: - branches: - - master - - main - pull_request: - branches: - - master - - main + tags: + - "*" env: CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules @@ -43,8 +38,8 @@ jobs: cmake -Sdocumentation -Bbuild cmake --build build --target GenerateDocs - # - name: Publish - # uses: peaceiris/actions-gh-pages@v4 - # with: - # github_token: ${{ secrets.GITHUB_TOKEN }} - # publish_dir: ./build/doxygen/html + - name: Publish + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./build/doxygen/html