10000 [skip ci] Exit when noghing updated · python/python-docs-ja@15bdc87 · GitHub
[go: up one dir, main page]

Skip to content

Commit 15bdc87

Browse files
committed
[skip ci] Exit when noghing updated
1 parent 1ee9226 commit 15bdc87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/pr_build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,6 @@ jobs:
6464
git config --local user.name "Autobuild bot on GitHub Actions"
6565
git config --local user.email "githubaction-build-bot@example.com"
6666
git add .
67+
if [ $(git status -s | wc -l) -eq 0 ]; then echo "nothing to commit"; exit 0; fi
6768
git commit -m 'update html'
6869
git push "https://${{ github.token }}@github.com/${{ github.repository }}.git" gh-pages:gh-pages

0 commit comments

Comments
 (0)
0