From fe6d6d404412d9d780abde16b4539cd4bf99f938 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 3 Jan 2021 00:04:26 +0200 Subject: [PATCH] add manual Github Actions workflow for regenerating apt lists Equivalent of `./scripts/package_uploader.sh --regenerate` which needs admin credentials for apt repo. --- .github/workflows/rebuild_metadata_manual.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/rebuild_metadata_manual.yml diff --git a/.github/workflows/rebuild_metadata_manual.yml b/.github/workflows/rebuild_metadata_manual.yml new file mode 100644 index 000000000..8b99e71b0 --- /dev/null +++ b/.github/workflows/rebuild_metadata_manual.yml @@ -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