testing10
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
gyurix
2024-06-13 15:14:39 +02:00
parent fc0b1258a8
commit df37f7f760

View File

@@ -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: