From cdb00abbe31e451227cb87e33e8471b7870ffd7d Mon Sep 17 00:00:00 2001 From: fabian Date: Fri, 9 Dec 2022 15:31:45 +0100 Subject: [PATCH] Deploy builds to seafile library --- .drone.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 82e296e..1075b61 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,9 +6,17 @@ name: Android steps: - name: build image: mingc/android-build-box + volumes: + - name: deploy + path: /tmp/deploy commands: - - ./gradlew build - when: - event: - - push - - pull_request \ No newline at end of file + - ./gradlew test + - ./gradlew assembleDebug + - ./gradlew bundleRelease + - cp app/build/outputs/apk/debug/app-debug.apk /tmp/deploy/lastBuild/ + - cp app/build/outputs/bundle/release/app-release.aab /tmp/deploy/lastBuild/ + +volumes: + - name: deploy + host: + path: /mnt/seafile-sync-cli/TichuCounter \ No newline at end of file