test env
All checks were successful
ci/woodpecker/push/deploy Pipeline was successful

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

View file

@ -6,23 +6,24 @@ labels:
matrix: matrix:
include: include:
- TYPE: dev
MAKE_TARGET: build-dev
SSH_TARGET: ssh_target_dev
- TYPE: prod - TYPE: prod
MAKE_TARGET: build-prod MAKE_TARGET: build-prod
SSH_TARGET: ssh_target SSH_TARGET: ssh_target
- TYPE: dev
MAKE_TARGET: build-dev
SSH_TARGET: ssh_target_dev
# Run the correct matrix build on the correct branch # Run the correct matrix build on the correct branch
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 (("${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