Skip to content

Commit

Permalink
Remove create branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacquwes committed Sep 28, 2023
1 parent 9570ad2 commit 5bb1d81
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5bb1d81

Please sign in to comment.