mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-23 20:49:26 +01:00
Update .gitlab-ci.yml
This commit is contained in:
parent
e2afce20ba
commit
1e64512222
@ -33,7 +33,7 @@ build_web:
|
||||
- build/web/
|
||||
|
||||
|
||||
build_android_fdroid:
|
||||
build_android_apk:
|
||||
stage: coverage
|
||||
script:
|
||||
- cd android && echo $FDROID_KEY | base64 --decode --ignore-garbage > key.jks && cd ..
|
||||
@ -50,6 +50,24 @@ build_android_fdroid:
|
||||
only:
|
||||
- master
|
||||
|
||||
|
||||
build_android_appbundle:
|
||||
stage: coverage
|
||||
script:
|
||||
- cd android && echo $FDROID_KEY | base64 --decode --ignore-garbage > key.jks && cd ..
|
||||
- cd android && echo "storePassword=${FDROID_KEY_PASS}" >> key.properties && cd ..
|
||||
- cd android && echo "keyPassword=${FDROID_KEY_PASS}" >> key.properties && cd ..
|
||||
- cd android && echo "keyAlias=key" >> key.properties && cd ..
|
||||
- cd android && echo "storeFile=../key.jks" >> key.properties && cd ..
|
||||
- cd android/app && echo $GOOGLE_SERVICES >> google-services.json && cd ../..
|
||||
- flutter build appbundle --target-platform android-arm,android-arm64,android-x64
|
||||
artifacts:
|
||||
when: on_success
|
||||
paths:
|
||||
- build/app/outputs/bundle/release/app-release.aab
|
||||
only:
|
||||
- master
|
||||
|
||||
pages:
|
||||
stage: publish
|
||||
image: ruby:2.3
|
||||
|
Loading…
Reference in New Issue
Block a user