diff --git a/.github/workflows/doxygen2.yml b/.github/workflows/doxygen2.yml index a49a993dff..0362ae4bd7 100644 --- a/.github/workflows/doxygen2.yml +++ b/.github/workflows/doxygen2.yml @@ -16,6 +16,17 @@ jobs: - name: clean first run: rm -rf * shell: bash + + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + # If you're changing the branch from main, + # also change the `main` in `refs/heads/main` + # below accordingly. + if: github.ref == 'refs/heads/test/is_benchark_erased' + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: . + - uses: actions/checkout@v3 with: @@ -34,15 +45,6 @@ jobs: with: doxyfile-path: docs/Doxyfile - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - # If you're changing the branch from main, - # also change the `main` in `refs/heads/main` - # below accordingly. - if: github.ref == 'refs/heads/test/is_benchark_erased' - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: . - name: Deploy uses: peaceiris/actions-gh-pages@v3