Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Commit d27ea9a

Browse files
authored
Fail the job if push is failing
1 parent 84c19ac commit d27ea9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ else
160160
git add -A
161161
git commit --message "${COMMIT_MESSAGE}"
162162
git pull --rebase
163-
git push origin ${DST_BRANCH}
163+
git push origin ${DST_BRANCH} || exit 1
164164
fi
165165

166166
echo "Copying complete 👌"

0 commit comments

Comments
 (0)