diff --git a/entrypoint.sh b/entrypoint.sh index b673545..7ecb558 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -48,4 +48,5 @@ git status git diff-index --quiet HEAD || git commit --message "$COMMIT_MESSAGE" echo "Pushing git commit" -git push origin "$TARGET_BRANCH" +# --set-upstream: sets de branch when pushing to a remote empty repository +git push origin --set-upstream "$TARGET_BRANCH"