https://github.com/mrikirill/rnappcentercodepushaction
Github Action which makes OTA update for React Native Apps by using AppCenter CodePush
https://github.com/mrikirill/rnappcentercodepushaction
Last synced: about 1 year ago
JSON representation
Github Action which makes OTA update for React Native Apps by using AppCenter CodePush
- Host: GitHub
- URL: https://github.com/mrikirill/rnappcentercodepushaction
- Owner: mrikirill
- Created: 2020-12-22T22:35:39.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-22T22:36:51.000Z (over 5 years ago)
- Last Synced: 2025-01-22T17:47:21.674Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RN-AppCenter-CodePush
Make OTA update for Reacn Native Apps
## Required Env Params
*ENV_FILENAME* - name of .env file
*APPCENTER_TOKEN* - [AppCenter API token](https://appcenter.ms/settings/apitokens)
*APP_IOS* - App name for iOS App by running `appcenter apps list`
*OTA_CHANNEL_IOS* - CodePush Channel for iOS App
*APP_ANDROID* - App name for Android App by running `appcenter apps list`
*OTA_CHANNEL_ANDROID* - CodePush Channel for Android App
```
name: Build, code quality, tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install npm dependencies
run: npm i
- name: Build OTA update
uses: mrikirill/RN-AppCenter-CodePush@v1.0.0
env:
ENV_FILENAME: .env.template
APPCENTER_TOKEN: app-center-token
APP_IOS: AppIOS
OTA_CHANNEL_IOS: Staging
APP_ANDROID: AppAndroid
OTA_CHANNEL_ANDROID: Staging
```