Skip to content

Instantly share code, notes, and snippets.

@pjkelly
Created September 18, 2014 04:40
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 pjkelly/baa7d3dd87a44102eae7 to your computer and use it in GitHub Desktop.
Save pjkelly/baa7d3dd87a44102eae7 to your computer and use it in GitHub Desktop.
whs.saba.do auto-deploy
test:
override:
- bundle exec jekyll
deployment:
production:
branch: master
commands:
- '[[ ! -s "$(git rev-parse --git-dir)/shallow" ]] || git fetch --unshallow'
- git push git@heroku.com:mrsabado-production.git $CIRCLE_SHA1:master -f
- curl -sSfL --retry 5 http://whs.saba.do > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment