Created
January 10, 2016 11:05
-
-
Save AbhiAgarwal/6e45a81375cf6d3eddf9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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