From 6771b1a8a9e7ffd31890dabefecf9f58d2a879ec Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Tue, 10 Jan 2023 20:32:58 +0100 Subject: [PATCH] feat: Trigger fdroid update using webhook --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 73557d1..24c05ae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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"