From a88266d521e6614a6cecae046b02ece05ee9a4f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Thu, 23 Jun 2022 15:57:51 +0100 Subject: [PATCH] fix typo in ci script --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 40797989..5ae7dd1a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -99,7 +99,7 @@ steps: - mkdir ~/.ssh - echo $SSH_KEY > ~/.ssh/id_ed25519 - | - for build in $(curl https://git.chir.rs/api/v1/repos/darkkirb/nixos-config/commits/$DRONE_COMMIT/status | jq -r '.statuses[] | select(.target_url | contains("https://hydra.chir.rs/")) | select(.status == "success ") | .target_url'); do + for build in $(curl https://git.chir.rs/api/v1/repos/darkkirb/nixos-config/commits/$DRONE_COMMIT/status | jq -r '.statuses[] | select(.target_url | contains("https://hydra.chir.rs/")) | select(.status == "success" ) | .target_url'); do JOB_JSON=$(curl -H "Accept: application/json" $build) PROJECT=$(echo "$JOB_JSON" | jq '.project') JOBSET=$(echo "$JOB_JSON" | jq '.jobset')