diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index 78578a3..da41eec 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -17,12 +17,13 @@ matrix: when: evaluate: | CI_PIPELINE_EVENT in ["push", "cron", "deployment", "manual"] - and ((CI_COMMIT_BRANCH == CI_REPO_DEFAULT_BRANCH) == ("${TYPE}" == "prod")) + 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