From 5bb1d81068eae049eab6665e6a65f5811760afe3 Mon Sep 17 00:00:00 2001 From: Paul Hariel Date: Thu, 28 Sep 2023 13:52:34 +0200 Subject: [PATCH] Remove create branch --- .github/workflows/doxygen.yml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index 5f85d56..4ab971c 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -22,23 +22,6 @@ jobs: - name: Run doxygen run: doxygen doxyfile - - name: gh-pages branch creation if needed - id: gh-pages-branch-creation - shell: bash - run: | - echo "::group::Checking if gh-pages branch exists" - if [[ -z $(git ls-remote --heads origin gh-pages) ]]; then - echo "Creating gh-pages branch" - git checkout --orphan gh-pages - git reset --hard - git commit --allow-empty -m "First commit to create gh-pages branch" - git push origin gh-pages - echo "Created gh-pages branch" - else - echo "Branch gh-pages already exists" - fi - echo "::endgroup::" - - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: