added escape characters
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
gyurix
2024-06-13 15:11:07 +02:00
parent 5378d399d3
commit fc0b1258a8

View File

@@ -40,8 +40,8 @@ steps:
- apk --update add curl jq - apk --update add curl jq
- URL="$GIT_URL/api/v1/repos/$REPO/contents/$FILE_PATH" - URL="$GIT_URL/api/v1/repos/$REPO/contents/$FILE_PATH"
- echo $URL - echo $URL
- curl -s -v -H 'Accept: application/json' $URL - SHA=$(curl -s -H \"Authorization\: token $TOKEN\" -H \"Accept: application/json\" $URL | jq -r \'.sha\')
#- echo $SHA - echo $SHA
when: when:
branch: branch: