added escape characters
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user