-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp-firebase-cd.yml
43 lines (39 loc) · 1.91 KB
/
app-firebase-cd.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Build and Deploy Firebase App for Android and iOS
# Workflow Caller version: 1.0.0
on:
workflow_dispatch:
inputs:
release_groups:
description: 'Optional tester groups that will be notified about the new release. Enter a single group or multiple groups as a comma seperated list (case sensitive). '
required: false
type: string
default: ''
release_android:
description: 'Build & Release for Android'
type: boolean
default: true
release_ios:
description: 'Build & Release for iOS'
type: boolean
default: true
jobs:
call-global-iconica-build-apk-workflow:
if: inputs.release_android
uses: Iconica-Development/.github/.github/workflows/firebase-android-cd.yml@master
secrets: inherit
permissions: write-all
with:
subfolder: 'optional_subfolder' # add optional subfolder to run workflow in
firebase_service_account_override: 'YOUR_FIREBASE_SERVICE_ACCOUNT_SECRET_NAME_HERE' # only add this when your secret firebase service account is not called FIREBASE_SERVICE_ACCOUNT
dotenv_override: 'YOUR_DOTENV_SECRET_NAME_HERE' # only add this when your secret dotenv is not called DOTENV_BASE64
release_groups: '${{ inputs.release_groups }}'
call-global-iconica-build-ios-workflow:
if: inputs.release_ios
uses: Iconica-Development/.github/.github/workflows/firebase-ios-cd.yml@master
secrets: inherit
permissions: write-all
with:
subfolder: 'optional_subfolder' # add optional subfolder to run workflow in
firebase_service_account_override: 'YOUR_FIREBASE_SERVICE_ACCOUNT_SECRET_NAME_HERE' # only add this when your secret firebase service account is not called FIREBASE_SERVICE_ACCOUNT
dotenv_override: 'YOUR_DOTENV_SECRET_NAME_HERE' # only add this when your secret dotenv is not called DOTENV_BASE64
release_groups: '${{ inputs.release_groups }}'