app/.drone.yml
Dorian Zedler 75d7212fd9
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Update '.drone.yml'
2022-07-29 14:29:52 +02:00

23 lines
No EOL
673 B
YAML

kind: pipeline
name: build and publish site
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build apk
image: itsblue.dev/plugins/qt-android:5.15.5-1
settings:
qmake_attributes: "CONFIG+=release"
androiddeployqt_attributes: "--aab"
- name: publish package
image: alpine/curl
commands:
- 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: docker_username
GITEA_TOKEN:
from_secret: docker_password