Skip to content

Instantly share code, notes, and snippets.

@mbleigh
Created October 30, 2014 04:59
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 mbleigh/cd32f71d3622cd94aec2 to your computer and use it in GitHub Desktop.
Save mbleigh/cd32f71d3622cd94aec2 to your computer and use it in GitHub Desktop.
Octopress + Travis CI + Divshot
language: ruby
rvm:
- 2.1.0
script: bundle exec rake generate
deploy:
provider: divshot
environment:
master: development
staging: staging
production: production
skip_cleanup: true
@greglgomez
Copy link

@mbleigh, thanks for the help with this. :)

I made a slight modification for my workflow:

  • I've paired Divshot production with the Master branch and Divshot development with a "dev" branch.
  • Also because I'm using a private repo with Travis CI I can benefit from caching dependencies which really cuts down on the build time.
    Is it possible to cache the Divshot deploy dependencies as well?

Cheers,
Greg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment