added cd for beta

This commit is contained in:
Kai Kriegel 2021-09-28 02:35:49 +02:00
parent 36084c4f76
commit dc8c66616f

View File

@ -189,13 +189,12 @@ deploy_Android_beta:
dependencies:
- build_Android
deploy_iOS:
deploy_iOS_alpha:
variables:
LC_ALL: 'en_US.UTF-8'
LANG: 'en_US.UTF-8'
only:
- alpha
- feature/fastlane
needs:
- build_iOS
stage: deploy
@ -212,3 +211,27 @@ deploy_iOS:
- 'rm app-store-credentials.json'
dependencies:
- build_iOS
deploy_iOS_beta:
variables:
LC_ALL: 'en_US.UTF-8'
LANG: 'en_US.UTF-8'
only:
- beta
- feature/fastlane
needs:
- build_iOS
stage: deploy
tags:
- macos
before_script:
- 'echo $app_store_credentials > app-store-credentials.json'
- 'export PATH="/usr/local/opt/ruby/bin:$PATH"'
script:
- 'bundle install'
- 'bundle update fastlane'
- 'bundle exec fastlane pilot upload --api_key_path app-store-credentials.json --ipa Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.iOS.ipa --distribute_external true --groups Beta'
after_script:
- 'rm app-store-credentials.json'
dependencies:
- build_iOS