I am trying to create a workflow that takes in some inputs, boolean, and uses them to deploy to specific sites using deploy tokens for that particular site.
Now, I have the following sample inputs and matrix defined:
Inputs
ABC:
type: boolean
description: ABC
XYZ:
type: boolean
description: XYZ
Matrix:
- project: ABC
site_id: abc
deploy_token_name: deploy_token_abc
deploy_id: abc
- project: XYZ
site_id: xyz
deploy_token_name: deploy_token_xyz
deploy_id: xyz
I want to add only those values into the matrix that are selected in the inputs in the workflow_dispatch.
Is there a way to do this?