Update '.drone.yml'
This commit is contained in:
parent
13b71d4267
commit
fdb51f92d2
1 changed files with 11 additions and 1 deletions
12
.drone.yml
12
.drone.yml
|
@ -27,12 +27,22 @@ steps:
|
||||||
android_keystore_store_pass:
|
android_keystore_store_pass:
|
||||||
from_secret: android-release-keystore-password
|
from_secret: android-release-keystore-password
|
||||||
|
|
||||||
|
- name: move outputs in place
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- mkdir dist
|
||||||
|
- mv ./firmware/firmware-esp32.bin dist
|
||||||
|
- mv ./outputs/apk/release/android-build-release-signed.apk dist
|
||||||
|
- mv ./outputs/bundle/release/android-build-release.aab dist
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
base_url: https://itsblue.dev
|
base_url: https://itsblue.dev
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: gitea-token
|
from_secret: gitea-token
|
||||||
files: [firmware/firmware-esp32.bin, outputs/apk/release/android-build-release-signed.apk, outputs/bundle/release/android-build-release.aab]
|
files: dist/*
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
Loading…
Reference in a new issue