Changed circleci.yml

This commit is contained in:
Henry 2016-05-18 17:00:16 -07:00
parent bcdd835275
commit b2c6db6207
2 changed files with 4 additions and 7 deletions

View File

@ -43,11 +43,11 @@ fi
npm run docs
echo "git clone $REPOSITORY_URL website"
git clone $REPOSITORY_URL website
git clone $REPOSITORY_URL website || exit 1
echo "cp -r $OUTPUT_DIRECTORY $WEBSITE_DIRECTORY/docs"
cp -r $OUTPUT_DIRECTORY $WEBSITE_DIRECTORY/docs
echo "cd $WEBSITE_DIRECTORY"
cd $WEBSITE_DIRECTORY
cd $WEBSITE_DIRECTORY || exit 1
# Configure github for CircleCI user.
git config user.email "buildbot@circleci.com"
@ -57,5 +57,3 @@ echo "git add ."
git add .
echo "git commit -m \"Docs updated from build build $BUILD_SHA\""
git commit -m "Docs updated from build build $BUILD_SHA"
echo "git push"
git push

View File

@ -6,9 +6,8 @@ deployment:
website:
branch: openmct-website
commands:
- git clone
- git push git@heroku.com:openmctweb-demo.git $CIRCLE_SHA1:refs/heads/master
- npm install canvas nomnoml
- ./build-docs.sh
openmct-demo:
branch: live_demo
heroku: