Skip to content

Instantly share code, notes, and snippets.

@todd
Last active February 9, 2018 23:51
Show Gist options
  • Save todd/b7ecf1d5d721e2a075dc to your computer and use it in GitHub Desktop.
Save todd/b7ecf1d5d721e2a075dc to your computer and use it in GitHub Desktop.
Deploy Command
deploy-branch() {
stage=$1
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD) bundle exec cap $stage deploy
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment