I'm trying to configure my appveyor.yml to deploy only when is a tag (annotated tag) in an specific branch. This is a fragment of my appveyor.yml:
- provider: WebDeploy
....
on:
branch: appveyor-integration
appveyor_repo_tag: true
configuration: Production
I can see in the logs that AppVeyor is skipping the deployment
Skip "WebDeploy" deployment as no branches matched (build branch is "v0.0.1-alpha", deploy on branches "appveyor-integration")
Note: my tag name is v0.0.1-alpha
What am I doing wrong?
I removed branch
condition in my deploy configuration.
When branch is not sent in webhook payload it's set to tag name.