From 8cf341762d089cf796af3bc362ed021a0d78485f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Delhaye?= Date: Fri, 21 Jul 2023 15:53:49 +0200 Subject: [PATCH] Update entrypoint.sh --- entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index f5eb0da..0b70b34 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -170,6 +170,8 @@ echo "[+] git diff-index:" # git diff-index : to avoid doing the git commit failing if there are no changes to be commit git diff-index --quiet HEAD || git commit --message "$COMMIT_MESSAGE" -echo "[+] Pushing git commit" +echo "[+] Pushing git commit ($GIT_CMD_REPOSITORY --set-upstream $TARGET_BRANCH)" # --set-upstream: sets de branch when pushing to a branch that does not exist git push "$GIT_CMD_REPOSITORY" --set-upstream "$TARGET_BRANCH" + +echo "[+] Push done"