Update .gitlab-ci.yml file
This commit is contained in:
parent
b036fb51a1
commit
9dceb2e6ae
1 changed files with 1 additions and 3 deletions
|
|
@ -95,9 +95,7 @@ release_job:
|
||||||
curl -X POST https://content.dropboxapi.com/2/files/upload --header "Authorization: Bearer $token" --header "Content-Type: application/octet-stream" --header @arg.json --data-binary @"$RELEASE_APK"
|
curl -X POST https://content.dropboxapi.com/2/files/upload --header "Authorization: Bearer $token" --header "Content-Type: application/octet-stream" --header @arg.json --data-binary @"$RELEASE_APK"
|
||||||
- echo {\"path\":\"/release/v0_$CI_PIPELINE_IID/$RELEASE_APK\", "settings":{\"access\":\"viewer\", \"allow_download\":true}} >> data.json
|
- echo {\"path\":\"/release/v0_$CI_PIPELINE_IID/$RELEASE_APK\", "settings":{\"access\":\"viewer\", \"allow_download\":true}} >> data.json
|
||||||
- |
|
- |
|
||||||
content=$(curl -X POST https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings --header "Authorization: Bearer $token" \
|
content=$(curl -X POST https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings --header "Authorization: Bearer $token" --header "Content-Type: application/json" --data @data.json)
|
||||||
--header "Content-Type: application/json" \
|
|
||||||
--data @data.json)
|
|
||||||
url=$(echo $content | jq -r ".url")
|
url=$(echo $content | jq -r ".url")
|
||||||
|
|
||||||
|
|
||||||
Reference in a new issue