From ef3774c77a41b6408920eae2e591d938cd3dd969 Mon Sep 17 00:00:00 2001 From: madomado Date: Sat, 13 May 2023 14:28:33 +0800 Subject: [PATCH] fix(ci): mg fail builds (#438) Signed-off-by: madomado --- .github/workflows/mg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mg.sh b/.github/workflows/mg.sh index 6badda0db6..1d581aef14 100755 --- a/.github/workflows/mg.sh +++ b/.github/workflows/mg.sh @@ -7,7 +7,7 @@ export p="{\"id\":\"$5\",\"ver\":\"%v\",\"rel\":\"%r\",\"arch\":\"$4\",\"dirs\": if [[ $1 == false ]]; then d=${p/\%v/?} d=${d/\%r/?} - curl -H "Authorization: Bearer $6" https://madoguchi.fyralabs.com/ci/terra$3/builds/$n -X PUT -H "Content-Type: application/json" -d $d --fail-with-body + curl -H "Authorization: Bearer $6" https://madoguchi.fyralabs.com/ci/terra$3/builds/f -X PUT -H "Content-Type: application/json" -d $d --fail-with-body exit 0 fi