This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user