Skip to content

Commit

Permalink
Attempt to fix dokka.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericenderman committed Feb 5, 2025
1 parent 38d2086 commit e087248
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/dokka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,18 @@ jobs:
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git fetch origin gh-pages || git checkout --orphan gh-pages
git checkout gh-pages
if git ls-remote --exit-code --heads origin gh-pages; then
git fetch origin gh-pages
git checkout gh-pages
else
git checkout --orphan gh-pages
fi
rm -rf *
cp -r build/dokka/html/* .
touch .nojekyll
git add .
git commit -m "[ci skip] Update Dokka documentation" || exit 0
git push origin gh-pages --force

0 comments on commit e087248

Please sign in to comment.