Hi,
I think there is a mistake in the Introducing Dynamic Step Condition for Bitbucket Pipelines blog post.
pipelines:
default:
- step:
name: Deploy to production
condition:
state: block_deployment == false
script:
- echo "Only run when block_deployment == true"
But I think it should be
echo "Only run when block_deployment == false"
Hey @Dani Asztalos - thanks for catching this, I'll update that now.
I'd say this will teach me not to blindly copy/paste code from engineers... but we all know that would be a lie.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.