Skip to content

Commit 862dd10

Browse files
committed
Fix doxygen action
1 parent 1dfa7fb commit 862dd10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/doxygen.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ 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 fetch origin gh-pages
45+
git checkout --track origin/gh-pages || git checkout -b gh-pages
4646
4747
# Remove old files and copy new documentation
4848
git rm -rf doxygen || true
4949
mv build/html doxygen
5050
5151
# Commit and push changes
52-
git add .
52+
git add doxygen
5353
git commit -m "Update Doxygen documentation"
5454
git push origin gh-pages --force

0 commit comments

Comments
 (0)