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 npm run docs
echo "git clone $REPOSITORY_URL website" 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" echo "cp -r $OUTPUT_DIRECTORY $WEBSITE_DIRECTORY/docs"
cp -r $OUTPUT_DIRECTORY $WEBSITE_DIRECTORY/docs cp -r $OUTPUT_DIRECTORY $WEBSITE_DIRECTORY/docs
echo "cd $WEBSITE_DIRECTORY" echo "cd $WEBSITE_DIRECTORY"
cd $WEBSITE_DIRECTORY cd $WEBSITE_DIRECTORY || exit 1
# Configure github for CircleCI user. # Configure github for CircleCI user.
git config user.email "buildbot@circleci.com" git config user.email "buildbot@circleci.com"
@ -57,5 +57,3 @@ echo "git add ."
git add . git add .
echo "git commit -m \"Docs updated from build build $BUILD_SHA\"" echo "git commit -m \"Docs updated from build build $BUILD_SHA\""
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: website:
branch: openmct-website branch: openmct-website
commands: commands:
- git clone - npm install canvas nomnoml
- git push git@heroku.com:openmctweb-demo.git $CIRCLE_SHA1:refs/heads/master - ./build-docs.sh
openmct-demo: openmct-demo:
branch: live_demo branch: live_demo
heroku: heroku: