add manual Github Actions workflow for regenerating apt lists

Equivalent of `./scripts/package_uploader.sh --regenerate` which needs
admin credentials for apt repo.
This commit is contained in:
Leonid Pliushch 2021-01-03 00:04:26 +02:00
parent 972e012060
commit fe6d6d4044
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
name: Force rebuild metadata
on:
workflow_dispatch:
jobs:
repo-maintenance:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Trigger apt package lists regeneration on Bintray
env:
BINTRAY_USERNAME: xeffyr
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
BINTRAY_GPG_SUBJECT: termux
BINTRAY_GPG_PASSPHRASE: ${{ secrets.BINTRAY_GPG_PASSWORD }}
run: |
./scripts/package_uploader.sh -r