From f1522eb002dd1497cd205f502739c339a186fea1 Mon Sep 17 00:00:00 2001 From: Emre KARTAL Date: Sat, 25 Nov 2023 13:25:55 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index ca6bf58..ef50a14 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,17 +5,15 @@ name: JustMusic trigger: event: - push + branch: + - master steps: -# - name: app-build -# image: ghcr.io/cirruslabs/flutter:3.13.9 -# commands: -# - cd ./Sources/justMUSIC/ -# - flutter build apk -# - sfm_apk=sfm_$(date +"%Y_%m_%d_%H_%M_%S").apk -# - cp ./build/app/outputs/flutter-apk/app-release.apk $sfm_apk -# - curl -F "file=@$sfm_apk" https://anonfiles.me/api/v1/upload > upload.json -# - cat upload.json | cut -d '"' -f 12 + - name: app-build + image: ghcr.io/cirruslabs/flutter:3.13.9 + commands: + - cd ./Sources/justMUSIC/ + - flutter build apk - name: build-web image: ghcr.io/cirruslabs/flutter:3.13.9