- Сreate
fastlane
folder in the root of the project - Create .env.appName in
fastlane/
- Create git repository for your fastlane-template
- Create your .env with your's key
- Create pipeline for your application on CI
- Add stage: clone repository with
fastlane-template
and copy fastlane's files to project'sfastlane
:
git clone git@repository.com/FastlaneCICD.git fastlane_temp
cp ./fastlane_temp/fastlane/* ./fastlane/
cp ./fastlane_temp/fastlane/.env fastlane/.env
- You're great!
- Use fastlane:
# fastlane ios <lane_name> --env appName
fastlane ios build --env appName
fastlane ios test --env appName
fastlane ios run_sonar --envName
fastlane ios deploy --envName