From f9c8d75113ead4df83caa0967e774ba9c2c09cdf Mon Sep 17 00:00:00 2001 From: Jonathan Shook Date: Thu, 12 Mar 2020 15:16:32 -0500 Subject: [PATCH] script update --- scripts/deploy-docs.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/scripts/deploy-docs.sh b/scripts/deploy-docs.sh index 5f3030cba..c5e57f28f 100755 --- a/scripts/deploy-docs.sh +++ b/scripts/deploy-docs.sh @@ -2,12 +2,15 @@ set -e set -x -GIT_RELEASE_BOT_NAME=${GIT_RELEASE_BOT_NAME:?GIT_RELEASE_BOT_NAME must be provided} -GITHUB_SHA=${GITHUB_SHA:?GITHUB_SHA must be provided} -GITHUB_REF=${GITHUB_REF:?GITHUB_REF must be provided} -RELEASE_BRANCH_NAME=${RELEASE_BRANCH_NAME:?RELEASE_BRANCH_NAME must be provided} +NBDROID_TOKEN=${NBDROID_TOKEN:?NBDROID_TOKEN must be provided} +NBDROID_NAME=${NBDROID_NAME:?NBDROID_NAME must be provided} -git clone https://github.com/nosqlbench/nosqlbench-docs.git nosqlbench-docs +#GITHUB_REF=${GITHUB_REF:?GITHUB_REF must be provided} +#RELEASE_BRANCH_NAME=${RELEASE_BRANCH_NAME:?RELEASE_BRANCH_NAME must be provided} + +f26313be9720eef77f85f1d384650229213ee22a + +git clone https://${NBDROID_NAME}:${NBDROID_TOKEN}@github.com/nosqlbench/nosqlbench-docs.git nosqlbench-docs pushd nosqlbench-docs rm -rf docs unzip ../docs.zip @@ -15,5 +18,3 @@ git add docs git commit -m'docs update' git push -exit 0 -