Skip to content

Commit

Permalink
github actions: fix curl command for publishing step
Browse files Browse the repository at this point in the history
Leonid Pliushch committed Oct 7, 2021
1 parent 826bb01 commit 49e2fe6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 49e2fe6

Please sign in to comment.