Merge branch 'master' of ssh://itsblue.dev/blueROCK/app
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
commit
99f49e0798
1 changed files with 24 additions and 0 deletions
24
.drone.yml
Normal file
24
.drone.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
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_arguments: "CONFIG+=release"
|
||||
androiddeployqt_arguments: "--android-platform android-31"
|
||||
|
||||
- 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
|
Loading…
Reference in a new issue