This Action for appcenter codepush enables arbitrary actions with the appcenter
command-line client.
args
- Required. This is the arguments you want to use for theappcenter
cli
APPCENTER_ACCESS_TOKEN
- Required. The token to use for authentication. This token can be aquired through theappcenter dashboard
.
To authenticate with Codepush, and deploy to Codepush:
name: Build and Deploy
on:
push:
branches:
- master
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Install Dependencies
run: npm install
- name: Deploy to Codepush
uses: NishanthShankar/codepush-action@master
with:
args: release-react -d Production
env:
APPCENTER_ACCESS_TOKEN: ${{ secrets.APPCENTER_ACCESS_TOKEN }}
The Dockerfile and associated scripts and documentation in this project are released under the MIT License.
Thanks to Jeremy Shore for the firebase-action repo.