Skip to content

Instantly share code, notes, and snippets.

@wzieba
Last active August 2, 2020 09:59
Show Gist options
  • Save wzieba/987e6ccdea8101fb2a772f19d7d2bb4b to your computer and use it in GitHub Desktop.
Save wzieba/987e6ccdea8101fb2a772f19d7d2bb4b to your computer and use it in GitHub Desktop.
name: Distribute to firebase
on:
workflow_dispatch:
jobs:
distribute:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-ruby@v1
with:
ruby-version: '2.7'
- name: install firebase tool
run: |
yarn global add firebase-tools
echo "::add-path::$(yarn global bin)"
- name: setup fastlane
run: bundle install
- name: distribute to firebase
run: bundle exec fastlane android firebase_distribution
env:
FIREBASE_CLI_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }}
FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment