Skip to content

Instantly share code, notes, and snippets.

@patbenatar
Created November 9, 2012 21:22
Show Gist options
  • Save patbenatar/4048355 to your computer and use it in GitHub Desktop.
Save patbenatar/4048355 to your computer and use it in GitHub Desktop.
export HEROKU_STG_APP=stg-app-name
export HEROKU_PROD_APP=prod-app-name
function hs() { heroku "$@" "-a" "$HEROKU_STG_APP" }
function hp() { heroku "$@" "-a" "$HEROKU_PROD_APP" }
alias push-stg="git push staging develop:master"
alias push-prod="git push production master"
# Source .heroku-apps if it exists
function source_heroku_apps {
if [ -e ".heroku-apps" ]; then
source .heroku-apps
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment