From 9af260a90cb175a7314fc4582b3c683af9385132 Mon Sep 17 00:00:00 2001 From: Abdoulbari ZAKIR <azakir@neverhack.com> Date: Mon, 8 Jan 2024 11:31:59 +0100 Subject: [PATCH] delete all & deploy --- .github/workflows/doxygen2.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) 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