Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

Make it easy to deploy the current git branch#13

Merged
dentarg merged 2 commits intomasterfrom
feature/deploy-current-git-branch
Mar 31, 2014
Merged

Make it easy to deploy the current git branch#13
dentarg merged 2 commits intomasterfrom
feature/deploy-current-git-branch

Conversation

@dentarg
Copy link
Copy Markdown
Contributor

@dentarg dentarg commented Mar 27, 2014

How to use it:

# Capfile
require 'capistrano/twingly/current_git_branch'

# config/deploy/production.rb
set :branch, Twingly::Git.current_branch

In action:

$ bundle exec cap staging deploy
Deploying branch master to stage staging
...

@dentarg
Copy link
Copy Markdown
Contributor Author

dentarg commented Mar 31, 2014

@jage Can we merge this?

@jage
Copy link
Copy Markdown
Contributor

jage commented Mar 31, 2014

Yes, looks good!

@dentarg dentarg merged commit 7e57316 into master Mar 31, 2014
@dentarg dentarg deleted the feature/deploy-current-git-branch branch March 31, 2014 09:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants