Merge branch 'main' of ssh://itsblue.dev/blueROCK/app
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
commit
766da23e26
1 changed files with 27 additions and 21 deletions
46
.drone.yml
46
.drone.yml
|
@ -1,24 +1,30 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: build and publish site
|
name: default
|
||||||
steps:
|
steps:
|
||||||
- name: submodules
|
- name: submodules
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
- name: build apk
|
- name: build app
|
||||||
image: itsblue.dev/plugins/qt-android:5.15.5-2
|
image: itsblue.dev/plugins/qt-android:5.15.5-3
|
||||||
settings:
|
settings:
|
||||||
qmake_arguments: "CONFIG+=release"
|
qmake_arguments: "CONFIG+=release"
|
||||||
androiddeployqt_arguments: "--android-platform android-31"
|
androiddeployqt_arguments: "--android-platform android-31 --aab"
|
||||||
|
android_keystore_data:
|
||||||
|
from_secret: android-release-keystore
|
||||||
|
android_keystore_alias: "bmca"
|
||||||
|
android_keystore_store_pass:
|
||||||
|
from_secret: android-release-keystore-password
|
||||||
|
|
||||||
- name: publish package
|
- name: release
|
||||||
image: alpine/curl
|
image: plugins/gitea-release
|
||||||
commands:
|
settings:
|
||||||
- env
|
base_url: https://itsblue.dev
|
||||||
- "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"
|
api_key:
|
||||||
environment:
|
from_secret: gitea-token
|
||||||
GITEA_USER:
|
files:
|
||||||
from_secret: gitea-user
|
- app/outputs/apk/release/android-build-release-signed.apk
|
||||||
GITEA_TOKEN:
|
- app/outputs/bundle/release/android-build-release.aab
|
||||||
from_secret: gitea-token
|
when:
|
||||||
|
event: tag
|
Loading…
Reference in a new issue