For example.
I have a web hook for push requests in GitHub to call https://<url>/webhooks/deploy but I only want the flow to run if the branch name in git is called "deployment". Is there a way to put a condition on the entire flow to only run if it meets a certain condition?
I see there is a
condition: |
return ${branch name}
but that looks like it's only on individual steps.
Thanks
For example. I have a web hook for push requests in GitHub to call
https://<url>/webhooks/deploy
but I only want the flow to run if the branch name in git is called "deployment". Is there a way to put a condition on the entire flow to only run if it meets a certain condition? I see there is abut that looks like it's only on individual steps. Thanks