From aaf1b21ec82b29851ae4c60a07e2b84d55edede7 Mon Sep 17 00:00:00 2001 From: Dan Robertson Date: Tue, 9 Aug 2016 13:58:32 +0100 Subject: [PATCH] "added token support" --- scripts/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start.sh b/scripts/start.sh index 20dc0d9..f50e95d 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -33,7 +33,7 @@ if [ ! -d "/var/www/html/.git" ]; then # Pull down code from git for our site! if [ ! -z "$GIT_REPO" ]; then # Remove the test index file - rm -Rf /var/www/html/index.html + rm -Rf /var/www/html/* if [ ! -z "$GIT_BRANCH" ]; then if [ -z "$GIT_USERNAME" ] && [ -z "$GIT_PERSONAL_TOKEN" ]; then git clone -b $GIT_BRANCH $GIT_REPO /var/www/html/