Skip to content

Commit 70cb4d2

Browse files
committed
Fix doxygen action
1 parent 1dfa7fb commit 70cb4d2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/doxygen.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,13 @@ jobs:
4141
git config --global user.email "github-actions[bot]@users.noreply.github.com"
4242
4343
# Create or switch to gh-pages branch
44-
git fetch origin gh-pages || true
45-
git checkout gh-pages || git checkout --orphan gh-pages
44+
git checkout gh-pages
4645
4746
# Remove old files and copy new documentation
4847
git rm -rf doxygen || true
4948
mv build/html doxygen
5049
5150
# Commit and push changes
52-
git add .
51+
git add doxygen
5352
git commit -m "Update Doxygen documentation"
5453
git push origin gh-pages --force

0 commit comments

Comments
 (0)