I’m getting the following warning on my builds:
CIRCLE.YML - 1 WARNINGS
Dang! We spotted something wrong with your circle.yml. These may be causing your builds to fail. We recommend that you fix them as soon as possible. You may want to look at our docs or contact us us if you’re having trouble.
deployment.staging should be a either a deploy section with commands, a Heroku deploy section or a CodeDeploy deploy section
I’m pretty sure it’s related to the last change made to circle.yml where I added both a tag and branch to the section.
deployment: staging: branch: /master/ commands: (...)
deployment: staging: branch: /master/ tag: /^\d+\.\d+\.\d+-rc.\d+$/ commands: (...)
Despite the warning it’s behaving as desired: if either the tag or the branch name matches it’s deployed as usual. Is this warning related to something else or this? Should this behaviour be set up in another way? Thanks in advance for any help!