We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ee9226 commit 15bdc87Copy full SHA for 15bdc87
.github/workflows/pr_build.yml
@@ -64,5 +64,6 @@ jobs:
64
git config --local user.name "Autobuild bot on GitHub Actions"
65
git config --local user.email "githubaction-build-bot@example.com"
66
git add .
67
+ if [ $(git status -s | wc -l) -eq 0 ]; then echo "nothing to commit"; exit 0; fi
68
git commit -m 'update html'
69
git push "https://${{ github.token }}@github.com/${{ github.repository }}.git" gh-pages:gh-pages
0 commit comments