Created
June 15, 2020 16:44
-
-
Save mRoca/4e0e3a974b54cc66cccf60cc42f18f4e to your computer and use it in GitHub Desktop.
ne
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
format_version: '8' | |
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
project_type: ios | |
trigger_map: | |
- push_branch: "*" | |
workflow: primary | |
- pull_request_source_branch: "*" | |
workflow: primary | |
workflows: | |
primary: | |
steps: | |
- activate-ssh-key@4: | |
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}' | |
- git-clone@4: {} | |
- cache-pull@2: {} | |
- script@1: | |
title: Do anything with Script step | |
inputs: | |
- content: | | |
#!/usr/bin/env bash | |
set -e | |
set -x | |
npm install -g --force npm @ionic/cli | |
cd client | |
yarn install --pure-lockfile | |
ionic capacitor build ios --no-open --ci | |
- certificate-and-profile-installer@1: {} | |
- cocoapods-install@1: {} | |
- xcode-archive@2: | |
inputs: | |
- project_path: "$BITRISE_PROJECT_PATH" | |
- scheme: "$BITRISE_SCHEME" | |
- export_method: "$BITRISE_EXPORT_METHOD" | |
- deploy-to-bitrise-io@1: {} | |
- firebase-app-distribution@0: | |
inputs: | |
- firebase_token: "$ADMIN_FIREBASE_CI_TOKEN" | |
- app: 1:555182525886:ios:01a6451444aa64b13abdef | |
- cache-push@2: | |
inputs: | |
- cache_paths: | | |
$BITRISE_CACHE_DIR | |
client/node_modules | |
app: | |
envs: | |
- opts: | |
is_expand: false | |
BITRISE_PROJECT_PATH: client/ios/App/App.xcworkspace | |
- opts: | |
is_expand: false | |
BITRISE_SCHEME: Indigo | |
- opts: | |
is_expand: false | |
BITRISE_EXPORT_METHOD: app-store |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment