Skip to content

FreeplayApp/codepush-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credit to Author

This project was forked from https://github.com/NishanthShankar/codepush-action and updated to use a working directory argument. This was needed to make the action work for a monorepo environment.

GitHub Actions for Firebase

This Action for appcenter codepush enables arbitrary actions with the appcenter command-line client.

Inputs

  • directory - Directory from which to run the command
  • args - Required. This is the arguments you want to use for the appcenter cli

Environment variables

  • APPCENTER_ACCESS_TOKEN - Required. The token to use for authentication. This token can be aquired through the appcenter dashboard.

Example

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 }}

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT License.

Credits

Thanks to Jeremy Shore for the firebase-action repo.

About

GitHub Action for interacting with Codepush

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 64.8%
  • Dockerfile 35.2%