Skip to content

Instantly share code, notes, and snippets.

@AbhiAgarwal
Created January 10, 2016 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AbhiAgarwal/6e45a81375cf6d3eddf9 to your computer and use it in GitHub Desktop.
Save AbhiAgarwal/6e45a81375cf6d3eddf9 to your computer and use it in GitHub Desktop.
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