Skip to content

Commit fe11aa6

Browse files
Fix: commit can do exit 1 if there are no changes
Lets avoid failing here Signed-off-by: Artem Sidorenko <artem@posteo.de>
1 parent 42bf8d1 commit fe11aa6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ git clone -b master https://github.com/dev-sec/dev-sec.github.io.git deployment
1515
rsync -av --delete --exclude ".git" public/ deployment
1616
cd deployment
1717
git add -A
18-
git commit -m "rebuilding site on `date`, commit ${TRAVIS_COMMIT} and job ${TRAVIS_JOB_NUMBER}"
18+
git commit -m "rebuilding site on `date`, commit ${TRAVIS_COMMIT} and job ${TRAVIS_JOB_NUMBER}" || true
1919
git push
2020

2121
cd ..

0 commit comments

Comments
 (0)