This commit is contained in:
parent
b600e0f76f
commit
f47dc63a89
1 changed files with 12 additions and 1 deletions
11
.drone.yml
11
.drone.yml
|
@ -5,3 +5,14 @@ steps:
|
|||
image: ubuntu
|
||||
commands:
|
||||
- env
|
||||
|
||||
- name: publish package
|
||||
image: alpine/curl
|
||||
commands:
|
||||
- env
|
||||
- "curl --user $GITEA_USER:$GITEA_TOKEN --upload-file outputs/apk/debug/android-build-debug.apk https://itsblue.dev/api/packages/bluerock/generic/app/${DRONE_COMMIT_SHA}/bluerock.apk"
|
||||
environment:
|
||||
GITEA_USER:
|
||||
from_secret: gitea-user
|
||||
GITEA_TOKEN:
|
||||
from_secret: gitea-token
|
Loading…
Reference in a new issue