Skip to content
This repository has been archived by the owner on Jan 7, 2019. It is now read-only.

Latest commit

 

History

History
23 lines (20 loc) · 690 Bytes

deploy-script.mo.md

File metadata and controls

23 lines (20 loc) · 690 Bytes

[MO] Add a deploy script to your app (~20min)

Description

  • With one command, deploy with codepush or fastlane, android and/or ios, on the specified environment!

Steps

  • Copy paste deploy.sh to your project
  • Add a deploy command to your package.json:
{
  "scripts": {
    "deploy": "./<where_you_put_the_file>/deploy.sh",
    ...
  }
}
  • Adapt the script to your fastlane and codepush implementation
  • Deploy (depending on your implementation):
yarn deploy -- -t <default: soft / hard> -o <default: all / ios / android> -e <default: staging / production>