github actions: provide gpg passphrase via secrets
No need to keep gpg-agent running on server side anymore.
This commit is contained in:
parent
5667b389fa
commit
9104125493
1
.github/workflows/packages.yml
vendored
1
.github/workflows/packages.yml
vendored
@ -173,6 +173,7 @@ jobs:
|
||||
https://packages.termux.org/aptly-api/repos/${REPOSITORY_NAME}/file/${REPOSITORY_NAME}-${{ github.sha }}
|
||||
# This will cause Aptly to rebuild apt repository.
|
||||
curl --fail -X PUT -u "${{ secrets.APTLY_API_AUTH }}" \
|
||||
-H 'Content-Type: application/json' --data '{"Signing": {"Passphrase": "${{ secrets.GPG_PASSPHRASE }}"}}' \
|
||||
https://packages.termux.org/aptly-api/publish/${REPOSITORY_NAME}/${REPOSITORY_DISTRIBUTION}
|
||||
fi
|
||||
- name: Setup ssh key and known_hosts
|
||||
|
Loading…
Reference in New Issue
Block a user