[Documentation] Update doc build/deployer

MissionControl/vista#21
This commit is contained in:
Victor Woeltjen 2015-08-06 11:46:50 -07:00
parent 320be34798
commit be5253b9d3

View File

@ -24,7 +24,7 @@
# Script to build and deploy docs to github pages. # Script to build and deploy docs to github pages.
OUTPUT_DIRECTORY="docs" OUTPUT_DIRECTORY="target/docs"
REPOSITORY_URL="git@github.com:nasa/openmctweb.git" REPOSITORY_URL="git@github.com:nasa/openmctweb.git"
BUILD_SHA=`git rev-parse head` BUILD_SHA=`git rev-parse head`
@ -39,7 +39,7 @@ if [ -d $OUTPUT_DIRECTORY ]; then
rm -rf $OUTPUT_DIRECTORY || exit 1 rm -rf $OUTPUT_DIRECTORY || exit 1
fi fi
npm run-script jsdoc npm run docs
cd $OUTPUT_DIRECTORY || exit 1 cd $OUTPUT_DIRECTORY || exit 1
echo "git init" echo "git init"