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"