I’ve seen posts like the one before showing YAML conditional expressions and it appears to be what I need, but I can’t find any documentation, either circleci specific or yaml, that describes the syntax of if expressions. I want to be able to do different things based on the current branch name in the config file rather than in a script file (what I am currently doing). Posts like the one below make it seem like this should be possible in the Circleci config file, but I can’t find any documentation on the syntax. Can someone point me to some?
Posts like this are what lead me to believe conditional commands are possible, or conditional steps (I looked at when/unless, but they can’t use environment variables):
Any pointers to documentation on the syntax for such expressions would be greatly appreciated.