Skip to content

Commit

Permalink
feat : add auto tagging firebase
Browse files Browse the repository at this point in the history
  • Loading branch information
bayazidsustami committed Feb 7, 2023
1 parent 0807d33 commit f1124c4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy_to_firebase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release to Firebase

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: build debug
run: ./gradlew assembleDebug --stacktrace
- name: Upload artifact to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1
with:
appId: ${{secrets.FIREBASE_APP_ID}}
token: ${{secrets.FIREBASE_TOKEN}}
file: app/build/outputs/apk/debug/app-debug.apk

0 comments on commit f1124c4

Please sign in to comment.