diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c424a05..2b77cda 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -108,7 +108,7 @@ build_iOS: expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on paths: - Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.ipa - - Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.app.dSYM + - Borepin/Borepin.iOS/bin/iPhone/Debug/ # - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests build_GTK: @@ -166,3 +166,24 @@ deploy_Android: - 'rm play-store-credentials.json' dependencies: - build_Android + +deploy_iOS: + variables: + LC_ALL: 'en_US.UTF-8' + LANG: 'en_US.UTF-8' + only: + - alpha + needs: + - build_iOS + stage: deploy + tags: + - macos + before_script: + - 'echo $app_store_credentials > app-store-credentials.json' + script: + - 'bundle install' + - 'bundle exec fastlane pilot upload --api_key_path app-store-credentials.json' + after_script: + - 'rm app-store-credentials.json' + dependencies: + - build_iOS