Add workflow to trigger fdroid repo update

This commit is contained in:
MM20 2023-05-19 21:17:58 +02:00
parent dc2813e91d
commit 8ae0cf5c94
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -0,0 +1,21 @@
name: Trigger F-Droid repository rebuild
on:
workflow_dispatch:
release:
types:
- published
- unpublished
- edited
workflow_run:
workflows:
- Build Nightly APK
types:
- completed
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Trigger F-Droid repository rebuild
run: |
curl -X POST -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/MM2-0/fdroid2/dispatches --data '{"event_type": "rebuild-repository"}'