I have a matrix like this:
matrix:
include:
- SITE: site1
ENV: site1_env
- SITE: site2
ENV: site2_env
- SITE: site3
ENV: site3_env
I would like to skip a step in one of the permutations like this:
install_prod_db:
when:
matrix:
SITE: [site1, site2]
But only works with one SITE (i.e SITE: site1)
Is the only solution to duplicate the step for each permutation?