-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I just had a look at the latest commit
341f9f2
And followed the various conversations around this, including pull #53
As part of my deploy task I tried various options:
Paratrooper::Deploy.new("myapp-staging", tag: 'staging', branch: "HEAD")
Paratrooper::Deploy.new("myapp-staging", tag: 'staging', branch: :head)
as described in lib/paratrooper/deploy.rb
And I get this:
Fetching repository, done.
error: src refspec refs/heads/HEAD does not match any.
error: failed to push some refs to 'git@heroku.com:myapp-staging.git'
If I don't pass any :branch value to the Deploy instance then it only deploys the master branch.
is there a way to simply deploy the current branch to staging without having to manually edit the rake task with the branch name?
Thank you very much
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels