From c00f8ac42934f58e19e4570d129b9a09ea19174f Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 30 Jul 2023 17:32:07 +0100 Subject: [PATCH] toto --- .woodpecker/deploy.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index 89f6312..db8bade 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -6,10 +6,19 @@ labels: matrix: include: + - TYPE: dev + MAKE_TARGET: build-dev + SSH_TARGET: ssh_target_dev - TYPE: prod MAKE_TARGET: build-prod SSH_TARGET: ssh_target +# Run the correct matrix build on the correct branch +when: + evaluate: | + CI_PIPELINE_EVENT in ["push", "cron", "deployment", "manual"] + and ((CI_COMMIT_BRANCH == CI_REPO_DEFAULT_BRANCH) == ("${TYPE}" == "prod")) + pipeline: - name: check image: bash