github actions: fix curl command for publishing step

This commit is contained in:
Leonid Pliushch 2021-10-07 15:52:53 +03:00
parent 826bb01be5
commit 49e2fe69cd
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 1 additions and 0 deletions

View File

@ -271,6 +271,7 @@ jobs:
--header 'Content-Type: application/json' \
--request PUT \
--data '{"Signing": {"Passphrase": "${{ secrets.GPG_PASSPHRASE }}"}}' \
--write-out '|%{http_code}' \
https://packages.termux.org/aptly-api/publish/${REPOSITORY_NAME}/${REPOSITORY_DISTRIBUTION} || true
)
http_status_code=$(echo "$curl_response" | cut -d'|' -f2)