From 9599d53b6d140ef61068033fe246a86a99688291 Mon Sep 17 00:00:00 2001 From: James Ives Date: Mon, 4 Mar 2019 08:41:33 -0500 Subject: [PATCH] Update entrypoint.sh --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 75f86d56..a8b67201 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -46,6 +46,7 @@ REMOTE_BRANCH = `git ls-remote --heads "https://${ACCESS_TOKEN}@github.com:James # If the branch doesn't exist it gets created here as an orphan. if [[ -z $REMOTE_BRANCH ]] then + echo "Creating remote branch ${BRANCH} as it doesn't exist..." git checkout --orphan $BRANCH && \ git rm -rf . && \ touch README.md && \ @@ -70,4 +71,4 @@ echo "Deploying to GitHub..." && \ git add -f $FOLDER && \ git commit -m "Deploying to ${BRANCH} - $(date +"%T")" && \ git push $REPOSITORY_PATH `git subtree split --prefix $FOLDER master`:$BRANCH --force && \ -echo "Deployment Succesful!" \ No newline at end of file +echo "Deployment succesful!" \ No newline at end of file