-
Notifications
You must be signed in to change notification settings - Fork 11
65 lines (59 loc) · 2.82 KB
/
deploy-firebase-merge.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: "Deploy: Firebase (auto)"
on:
push:
branches:
- main
- 'release/*'
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
firebase-deploy-holder-acc:
if: github.event.repository.name == 'nl-covid19-coronacheck-app-ios-private' && (contains(github.event.ref, 'release/holder-') || contains(github.event.ref, 'refs/heads/main'))
uses: ./.github/workflows/template_firebase-deploy.yml
with:
fastlane_command: bundle exec fastlane ios deploy_holder_acc_ci
app_title: Acc Holder App
app_filename: CTR ACC
secrets:
DIST_CERT_CONTENTS: ${{ secrets.DIST_CERT_CONTENTS }}
DIST_CERT_PASSWORD: ${{ secrets.DIST_CERT_PASSWORD }}
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
SLACK_URL: ${{ secrets.SLACK_URL }}
# firebase-deploy-verifier-acc:
# if: github.event.repository.name == 'nl-covid19-coronacheck-app-ios-private' && (contains(github.event.ref, 'release/verifier-') || contains(github.event.ref, 'refs/heads/main'))
# uses: ./.github/workflows/template_firebase-deploy.yml
# with:
# fastlane_command: bundle exec fastlane ios deploy_verifier_acc_ci
# app_title: Acc Verifier App
# app_filename: Verifier
# secrets:
# DIST_CERT_CONTENTS: ${{ secrets.DIST_CERT_CONTENTS }}
# DIST_CERT_PASSWORD: ${{ secrets.DIST_CERT_PASSWORD }}
# FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
# SLACK_URL: ${{ secrets.SLACK_URL }}
firebase-deploy-holder-prod:
if: github.event.repository.name == 'nl-covid19-coronacheck-app-ios-private' && (contains(github.event.ref, 'release/holder-') || contains(github.event.ref, 'refs/heads/main'))
uses: ./.github/workflows/template_firebase-deploy.yml
with:
fastlane_command: bundle exec fastlane ios deploy_holder_prod_ci
app_title: Prod Holder App
app_filename: CTR PROD
secrets:
DIST_CERT_CONTENTS: ${{ secrets.DIST_CERT_CONTENTS }}
DIST_CERT_PASSWORD: ${{ secrets.DIST_CERT_PASSWORD }}
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
SLACK_URL: ${{ secrets.SLACK_URL }}
# firebase-deploy-verifier-prod:
# if: github.event.repository.name == 'nl-covid19-coronacheck-app-ios-private' && (contains(github.event.ref, 'release/verifier-') || contains(github.event.ref, 'refs/heads/main'))
# uses: ./.github/workflows/template_firebase-deploy.yml
# with:
# fastlane_command: bundle exec fastlane ios deploy_verifier_prod_ci
# app_title: Prod Verifier App
# app_filename: Verifier
# secrets:
# DIST_CERT_CONTENTS: ${{ secrets.DIST_CERT_CONTENTS }}
# DIST_CERT_PASSWORD: ${{ secrets.DIST_CERT_PASSWORD }}
# FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
# SLACK_URL: ${{ secrets.SLACK_URL }}