diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7f818d2..c6ce783 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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