feat: Trigger fdroid update using webhook

This commit is contained in:
Georg Krause 2023-01-10 20:32:58 +01:00
parent eaf9275086
commit 6771b1a8a9
No known key found for this signature in database
GPG Key ID: 2970D504B2183D22
1 changed files with 14 additions and 0 deletions

View File

@ -157,3 +157,17 @@ deploy-release:
variables:
FILE: app/build/outputs/apk/release/app-release.apk
PACKAGE: audio.funkwhale.ffa
trigger-fdroid-update-develop:
stage: .post
only:
- develop
image: curl:7.87.0
script: "curl https://fdroid.funkwhale.audio/hooks/webhook?name=audio.funkwhale.ffa.dev&version=$CI_COMMIT_SHORT_SHA"
trigger-fdroid-update-release:
stage: .post
only:
- develop
image: curl:7.87.0
script: "curl https://fdroid.funkwhale.audio/hooks/webhook?name=audio.funkwhale.ffa&version=$CI_COMMIT_SHORT_SHA"