From b2c6db6207069488958e57f69eb9ab567d917316 Mon Sep 17 00:00:00 2001 From: Henry Date: Wed, 18 May 2016 17:00:16 -0700 Subject: [PATCH] Changed circleci.yml --- build-docs.sh | 6 ++---- circle.yml | 5 ++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/build-docs.sh b/build-docs.sh index 5b94f65d13..abdb7bbdbd 100755 --- a/build-docs.sh +++ b/build-docs.sh @@ -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 diff --git a/circle.yml b/circle.yml index aba013d239..5ed3bf7147 100644 --- a/circle.yml +++ b/circle.yml @@ -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: