fix typo in ci script

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-23 15:57:51 +01:00
parent 580c67e5d1
commit a88266d521
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

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