Top "Bitbucket-cloud" questions

Can "if" statements be used in bitbucket pipelines?

Im trying to run the following step, but it does not execute the "if" steps (lines 5 and 6) (I'm pretty sure …

bash bitbucket bitbucket-pipelines bitbucket-cloud