mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 09:26:45 +00:00
Changed circleci.yml
This commit is contained in:
parent
bcdd835275
commit
b2c6db6207
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user