Git Branches: deploy to different locations

Hi there,

is it possible to deploy git branches to different servers?
For example:
Got a repo with 2 branches: develop and master.What I need is PhpStorm to deploy changes depending on the current branch to a specific server (branch master to master.example.com and branch develop to develop.example.com)

Please let me know if it's possible or if there exists a workaround for this problem!

Please sign in to leave a comment.