Skip to content

Instantly share code, notes, and snippets.

@djburdick
djburdick / deploy.rake
Last active December 10, 2015 08:48 — forked from njvitto/deploy.rake
heroku deploy and system command rake tasks. #heroku, #deploy
# Usage: rake name:task app_name
task PROD = "appname" # "task" here stubs to prevent rake errors with commandline
task STAGING = "appname-staging"
APP = ARGV[1] || PROD # default app
puts "=== APP #{APP} ==="
namespace :deploy do