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