mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
actions debugging
This commit is contained in:
parent
a2fa3866ee
commit
60eeda54aa
19
scripts/deploy-docs.sh
Executable file
19
scripts/deploy-docs.sh
Executable 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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user