summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpierreozoux <pierre@ozoux.net>2020-08-28 15:43:33 +0200
committerPierre Ozoux <pierre@ozoux.net>2020-08-28 15:45:30 +0200
commitbda13d3ef3da1d130d063ec3c5efa6a5d4008b13 (patch)
treee9e03fa6e725b2e8891ecc6c9c8293eea6e1f93e
parent5f3072ea806d0de60c47069fd1ed5bb7f01704bd (diff)
Does not fail when there is nothing to commit.
-rw-r--r--.github/workflows/update-sh.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/update-sh.yml b/.github/workflows/update-sh.yml
index 24551a23..2a675f15 100644
--- a/.github/workflows/update-sh.yml
+++ b/.github/workflows/update-sh.yml
@@ -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: