Skip to content

Instantly share code, notes, and snippets.

@moatazeldebsy
Last active Jun 5, 2021
Embed
What would you like to do?
---
format_version: '11'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
trigger_map:
- push_branch: release
workflow: iOS CI/CD
workflows:
iOS CI/CD:
steps:
- activate-ssh-key@4:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone@6: {}
- cocoapods-install@2:
inputs:
- podfile_path: "./podfile"
- command: update
- fastlane-match@0:
inputs:
- app_id: "$APP_IDENTIFIER"
- decrypt_password: "$MATCH_PASSWORD"
- team_id: "$DEVELOPER_TEAM_ID"
- git_url: "$GIT_REPO_URL"
- fastlane@3:
inputs:
- lane: lint
title: Check style and conventions
- fastlane@3:
inputs:
- lane: unit_tests
title: Unit tests
- fastlane@3:
title: Run UI Tests
inputs:
- lane: ui_tests
- fastlane@3:
title: Release build to TestFlight
inputs:
- lane: release
- fastlane@3:
title: Release a new version for the Apple Store
inputs:
- lane: release_applestore
- fastlane@3:
inputs:
- lane: screenshots
title: Generate screenshots
- slack@3:
inputs:
- webhook_url: "$SLACK_URL"
- deploy-to-bitrise-io@1: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment