Update entrypoint.sh

This commit is contained in:
Piotr Joński 2021-06-24 09:00:58 +02:00 committed by GitHub
parent 69e1f423c8
commit 84dc6cc070
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,12 +7,13 @@ echo "Starts"
SOURCE_DIRECTORY="$1" SOURCE_DIRECTORY="$1"
DESTINATION_GITHUB_USERNAME="$2" DESTINATION_GITHUB_USERNAME="$2"
DESTINATION_REPOSITORY_NAME="$3" DESTINATION_REPOSITORY_NAME="$3"
USER_EMAIL="$4" GITHUB_SERVER="$4"
USER_NAME="$5" USER_EMAIL="$5"
DESTINATION_REPOSITORY_USERNAME="$6" USER_NAME="$6"
TARGET_BRANCH="$7" DESTINATION_REPOSITORY_USERNAME="$7"
COMMIT_MESSAGE="$8" TARGET_BRANCH="$8"
GITHUB_SERVER="$9" COMMIT_MESSAGE="$9"
if [ -z "$DESTINATION_REPOSITORY_USERNAME" ] if [ -z "$DESTINATION_REPOSITORY_USERNAME" ]
then then