Drone

Conditional builds using environment variables

Hi,

There seems to be a lot of ways to use the when property to conditionally enable / disable builds.

Is there a way one could achieve this by using environment variables ?

when:
  condition:
  - MY_ENV_VAR === 'true'

Thanks a lot !

no, there is no syntax that matches what you described.