Advanced Logic in Config

Just wonder if its possible to get something like this working

my-job:
  steps:
    when:
      condition:
        or:
          - condition_1
      steps:
        - run: ./deploy
    when:
      condition:
        or:
          - another condition
      steps:
        - run: ./deploy_2

Something of that logic,

Just to give some context, my comment comes from using this Orb CircleCI Developer Hub - circleci/path-filtering

So if no changes were detected, would be good to still return a success message - especially if you have github checks dependant on it

1 Like