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