This commit is contained in:
Bruno BELANYI 2023-07-30 15:27:06 +01:00
parent 102ce898b2
commit 119d520e39

View file

@ -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