From df37f7f760ccc121ba4cacbdd90c1c7edf3d63cb Mon Sep 17 00:00:00 2001 From: gyurix Date: Thu, 13 Jun 2024 15:14:39 +0200 Subject: [PATCH] testing10 --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 829f0d5..7a6ba4d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -40,7 +40,8 @@ steps: - apk --update add curl jq - URL="$GIT_URL/api/v1/repos/$REPO/contents/$FILE_PATH" - echo $URL - - SHA=$(curl -s -H \"Authorization\: token $TOKEN\" -H \"Accept: application/json\" $URL | jq -r \'.sha\') + - | + SHA=$(curl -s -H "Authorization: token $TOKEN" -H "Accept: application/json" $URL | jq -r '.sha') - echo $SHA when: