Skip to content

Commit

Permalink
chore: update workflow for demo app upload (#2742)
Browse files Browse the repository at this point in the history
  • Loading branch information
niyajali authored Jan 12, 2025
1 parent 3f3c22b commit 31b92de
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/upload-demo-app-on-firebase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ name: Upload Demo App on Firebase
on:
workflow_dispatch:
inputs:
label:
description: 'Run tests and upload demo app on Firebase'
required: true
default: 'firebase-test-on'
type: string
tester_groups:
description: 'Comma-separated list of tester groups'
required: true
Expand All @@ -16,11 +11,18 @@ on:

pull_request:
types: [ synchronize, opened, reopened, edited, closed, labeled ]
branches:
- 'development'
- 'master'

concurrency:
group: firebase-${{ github.ref }}
cancel-in-progress: true

jobs:
upload_demo_app_on_firebase:
runs-on: macos-latest
if: github.event.label.name == github.event.inputs.label
if: github.event.label.name == 'firebase-test-on'
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 31b92de

Please sign in to comment.