script update

This commit is contained in:
Jonathan Shook 2020-03-12 15:16:32 -05:00
parent b1743e4434
commit f9c8d75113

View File

@ -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