Hi
Can someone please assist with the following configuration?
Under this job, want dynamically to run the step “My step” - based on the value of the enthronement variable RUN_SECOND_STEP
Thanks
test:
docker:
- image: cimg/node:lts
resource_class: small
steps:
- run:
name: Set parameter
command: echo 'export RUN_SECOND_STEP=true' >> $BASH_ENV
- when:
condition: << $\{RUN_SECOND_STEP\} == "true" >>
steps:
- run:
name: My step
command: echo "My step"