18 lines
No EOL
448 B
YAML
18 lines
No EOL
448 B
YAML
kind: pipeline
|
|
name: default
|
|
steps:
|
|
- name: env
|
|
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 |