Deploy builds to seafile library
This commit is contained in:
18
.drone.yml
18
.drone.yml
@@ -6,9 +6,17 @@ name: Android
|
|||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: mingc/android-build-box
|
image: mingc/android-build-box
|
||||||
|
volumes:
|
||||||
|
- name: deploy
|
||||||
|
path: /tmp/deploy
|
||||||
commands:
|
commands:
|
||||||
- ./gradlew build
|
- ./gradlew test
|
||||||
when:
|
- ./gradlew assembleDebug
|
||||||
event:
|
- ./gradlew bundleRelease
|
||||||
- push
|
- cp app/build/outputs/apk/debug/app-debug.apk /tmp/deploy/lastBuild/
|
||||||
- pull_request
|
- cp app/build/outputs/bundle/release/app-release.aab /tmp/deploy/lastBuild/
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: deploy
|
||||||
|
host:
|
||||||
|
path: /mnt/seafile-sync-cli/TichuCounter
|
||||||
Reference in New Issue
Block a user