1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

Handling error if there is nothing to commit

This commit is contained in:
Jamie Hewitt 2022-05-18 14:42:51 +03:00
parent 9cd3f4829e
commit 6a3e3edd06

View File

@ -224,4 +224,4 @@ jobs:
git commit -m "Updating CodeExamples.md"
branch=${GITHUB_HEAD_REF#refs/heads/}
echo Pushing changes to branch: ${branch}
git push origin HEAD:${branch} --force
git push origin HEAD:${branch} --force || echo Nothing to commit