I want to setup continuous deployment of our development branch to staging environment in VSTS. Also we have dev environment where deployments should be performed from any branch and only manually.
Having experience with Octopus I was thinking about the following workflow:
- build is triggered from any branch
- release is created after every build
- if branch is develop then trigger deployment to staging
I've created a build definition and release definition. My release definition is the following:
However I don't see anything related to branch / tag filtering in release trigger. Am I missing anything?
UPDATE
OK, so I tried old editor, as @Yan and @Harshil suggested and still cannot get it working. Seems like it allows to specify a tag that should trigger the deployment. I did not manage to find a way to provide a branch name. More screens: