From 72ed8b95e6af3d0712e445573a2925e9989f9f21 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 30 Jul 2023 15:27:06 +0100 Subject: [PATCH] test env --- .woodpecker/deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index 78578a3..bed9ff9 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -16,13 +16,14 @@ matrix: # 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")) + CI_PIPELINE_EVENT in ['push', 'cron', 'deployment', 'manual'] + and ((CI_COMMIT_BRANCH != CI_REPO_DEFAULT_BRANCH) == ('${TYPE}' == 'prod')) pipeline: - name: check image: bash commands: + - nix shell pkgs#coreutils --command env - nix flake check when: event: *all_events