Details
-
Suggestion
-
Resolution: Duplicate
Description
I'm using deployhq for automated deployments. I keep a master, a staging and a live branch to keep code separate. I mostly work on master. When I think it should be deployed to the staging server, I checkout staging, merge master into it, and then push to remote staging. The problem is, if I already pushed the same commit to remote master, pushing to remote staging will not fire the post hook again.
The automated deployment gets the payload, sees that it's on branch master, and ignores it. It does not get the payload with branch staging in it (which it should use for deployment).
So essentially unless I push to staging first, I can't get automated deployments working. This is true when trying to deploy to a live site once everyone gave the thumbs up on the staging. Ideally it would be a checkout live, merge staging, push upstream live, and done.
Any plans on making bitbucket fire hooks on push?