Dorian Zedler
551c6ffb6d
All checks were successful
continuous-integration/drone/push Build is passing
24 lines
No EOL
689 B
YAML
24 lines
No EOL
689 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:
|
|
- env
|
|
- "curl --fail --user $GITEA_USER:$GITEA_TOKEN --upload-file outputs/apk/debug/android-build-debug.apk https://itsblue.dev/api/packages/bluerock/generic/app/0-preview-${DRONE_COMMIT_SHA}/bluerock.apk"
|
|
environment:
|
|
GITEA_USER:
|
|
from_secret: gitea-user
|
|
GITEA_TOKEN:
|
|
from_secret: gitea-token |