actions debugging

This commit is contained in:
Jonathan Shook 2020-03-12 03:45:50 -05:00
parent a2fa3866ee
commit 60eeda54aa
2 changed files with 20 additions and 1 deletions

19
scripts/deploy-docs.sh Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash
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}
git clone https://github.com/nosqlbench/nosqlbench-docs.git nosqlbench-docs
pushd nosqlbench-docs
rm -rf docs
unzip ../docs.zip
git add docs
git commit -m'docs update'
git push
exit 0

View File

@ -35,5 +35,5 @@ git reset --hard ${GITHUB_SHA}
echo "Do mvn release:perform..."
#mvn $MAVEN_REPO_LOCAL --batch-mode --global-settings release.xml release:perform
mvn -X --batch-mode --global-settings release.xml release:perform
mvn --batch-mode --global-settings release.xml release:perform -DskipTests