Skip to content

Trigger F-Droid repository rebuild #495

Trigger F-Droid repository rebuild

Trigger F-Droid repository rebuild #495

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