Does not fail when there is nothing to commit.

pull/1227/head
pierreozoux 5 years ago committed by Pierre Ozoux
parent 5f3072ea80
commit bda13d3ef3

@ -20,7 +20,7 @@ jobs:
git config --local user.email "workflow@github.com"
git config --local user.name "GitHub Workflow"
git add ./*
git commit -m "Runs update.sh"
git commit -m "Runs update.sh" || echo "Nothing to update"
- name: Push changes
uses: ad-m/github-push-action@master
with:

Loading…
Cancel
Save