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: when:
evaluate: | evaluate: |
CI_PIPELINE_EVENT in ["push", "cron", "deployment", "manual"] 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: pipeline:
- name: check - name: check
image: bash image: bash
commands: commands:
- nix shell pkgs#coreutils --command env
- nix flake check - nix flake check
when: when:
event: *all_events event: *all_events