Skip to content

Instantly share code, notes, and snippets.

@blarshk
Created July 31, 2017 16:14
Show Gist options
  • Save blarshk/484ecf4eca2113c0066060193123d18e to your computer and use it in GitHub Desktop.
Save blarshk/484ecf4eca2113c0066060193123d18e to your computer and use it in GitHub Desktop.
Headless Capistrano Deploy
set :branch, ENV.fetch("BRANCH", `git rev-parse --abbrev-ref HEAD`.chomp)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment