-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebase-web-cd.yml
More file actions
27 lines (25 loc) · 966 Bytes
/
firebase-web-cd.yml
File metadata and controls
27 lines (25 loc) · 966 Bytes
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
name: Build and Deploy Firebase Web Application
# Workflow Caller version: 5.0.0
on:
push:
branches:
[master]
pull_request:
workflow_dispatch:
inputs:
use_preview_channel:
description: 'Use preview channel?'
required: false
type: boolean
default: false
jobs:
call-global-iconica-workflow:
uses: Iconica-Development/.github/.github/workflows/firebase-web-cd.yml@master
secrets: inherit
permissions: write-all
with:
firebase_service_account_override: '(KEY TO BE USED WHEN IT IS NOT CALLED): FIREBASE_SERVICE_ACCOUNT'
# pass a true value to use the preview channel for pull requests, use workflow_dispatch input, or default to false
use_preview_channel: ${{ (github.event_name == 'pull_request' && true) || github.event.inputs.use_preview_channel == 'true' || false }}
subfolder: '.' # add optional subfolder to run workflow in
dotenv_override: 'DOTENV_BASE64'