Instantly share code, notes, and snippets.

Embed
What would you like to do?
general:
branches:
only:
- master
machine:
timezone:
America/Los_Angeles
ruby:
version:
2.1.1
node:
version:
5.0.0
dependencies:
post:
- gem install jekyll
- gem install redcarpet
- cd $HOME/$CIRCLE_PROJECT_REPONAME/_scripts && npm install && node process.js
test:
override:
- echo "No tests are needed"
deployment:
production:
branch: master
commands:
- turbolift -u $RAXUSER -a $RAXAPIKEY --os-rax-auth $RAXREGION upload -s $HOME/$CIRCLE_PROJECT_REPONAME/_site -c $CONTAINER
general:
branches:
only:
- master
machine:
timezone:
America/Los_Angeles
test:
override:
- echo "No tests are needed"
deployment:
production:
branch: master
commands:
- ssh $SSHU "cd $DIR && git pull -u origin master && bundle install && npm install && bundle exec gulp && cd build && forever restartall"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment