How to bypass matrix (ex: for deploy step)

Hello,

In my pipeline, I have a build step and a deploy step.

I defined a matrix, the problem is that, even if my deploy step don’t use any variable from the matrix, it will be run multiple times.

How to play the deploy step only once? And apply the matrix on the build step only…

Many thanks!

You can use a condition for the specific matrix permuation. See http://docs.drone.io/conditional-steps/