Add workflow to trigger fdroid repo update
This commit is contained in:
parent
dc2813e91d
commit
8ae0cf5c94
21
.github/workflows/trigger-fdroid-repo-rebuild.yml
vendored
Normal file
21
.github/workflows/trigger-fdroid-repo-rebuild.yml
vendored
Normal 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"}'
|
||||
Loading…
x
Reference in New Issue
Block a user