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

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)