test/.drone.yml

18 lines
448 B
YAML
Raw Normal View History

2022-07-23 20:48:50 +02:00
kind: pipeline
name: default
steps:
- name: env
image: ubuntu
commands:
2022-07-30 13:53:30 +02:00
- 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