testing sha
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
gyurix
2024-06-13 14:51:08 +02:00
parent 98f7790e9b
commit e898f351be

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