From 49cab19689d623faf47355d7a3fa4cf110348365 Mon Sep 17 00:00:00 2001 From: Chris Marsh Date: Wed, 5 Jun 2024 11:37:54 +0100 Subject: [PATCH] Updated actions to point to open-app-builder --- .github/workflows/android-release.yml | 2 +- .github/workflows/content-sync.yml | 2 +- .github/workflows/deploy-firebase.yml | 2 +- .github/workflows/deploy-pr-preview.yml | 2 +- .github/workflows/firebase-release.yml | 19 +++++++++++++++++++ 5 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/firebase-release.yml diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index 1d98290..d5a13f6 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -8,5 +8,5 @@ on: jobs: android_release: - uses: IDEMSInternational/parenting-app-ui/.github/workflows/reusable-android-release.yml@master + uses: IDEMSInternational/open-app-builder/.github/workflows/reusable-android-release.yml@master secrets: inherit diff --git a/.github/workflows/content-sync.yml b/.github/workflows/content-sync.yml index 363ba55..ebc302a 100644 --- a/.github/workflows/content-sync.yml +++ b/.github/workflows/content-sync.yml @@ -16,7 +16,7 @@ on: default: Automated PR creation from actions jobs: sync_content: - uses: IDEMSInternational/parenting-app-ui/.github/workflows/reusable-content-sync.yml@master + uses: IDEMSInternational/open-app-builder/.github/workflows/reusable-content-sync.yml@master with: pr-title: ${{ inputs.pr-title }} pr-body: ${{ inputs.pr-body }} diff --git a/.github/workflows/deploy-firebase.yml b/.github/workflows/deploy-firebase.yml index ff9cf6c..6761fd5 100644 --- a/.github/workflows/deploy-firebase.yml +++ b/.github/workflows/deploy-firebase.yml @@ -10,6 +10,6 @@ on: jobs: web_preview: - uses: IDEMSInternational/parenting-app-ui/.github/workflows/reusable-deploy-web-preview.yml@master + uses: IDEMSInternational/open-app-builder/.github/workflows/reusable-deploy-web-preview.yml@master secrets: inherit diff --git a/.github/workflows/deploy-pr-preview.yml b/.github/workflows/deploy-pr-preview.yml index b047773..c1f0478 100644 --- a/.github/workflows/deploy-pr-preview.yml +++ b/.github/workflows/deploy-pr-preview.yml @@ -9,5 +9,5 @@ on: jobs: pr_preview: - uses: IDEMSInternational/parenting-app-ui/.github/workflows/reusable-deploy-pr-preview.yml@master + uses: IDEMSInternational/open-app-builder/.github/workflows/reusable-deploy-pr-preview.yml@master secrets: inherit diff --git a/.github/workflows/firebase-release.yml b/.github/workflows/firebase-release.yml new file mode 100644 index 0000000..450eb47 --- /dev/null +++ b/.github/workflows/firebase-release.yml @@ -0,0 +1,19 @@ +################################################################################## +# Calls workflow from code repo +################################################################################## +env: + FIREBASE_SERVICE_ACCOUNT: ${{secrets.FIREBASE_SERVICE_ACCOUNT}} + FIREBASE_CONFIG_RELEASE: ${{secrets.FIREBASE_CONFIG_RELEASE}} + +name: Firebase - release + +on: + workflow_dispatch: + +jobs: + web_preview: + uses: IDEMSInternational/open-app-builder/.github/workflows/reusable-deploy-web-preview.yml@master + with: + firebase-host: ${{vars.FIREBASE_HOSTING_TARGET_RELEASE}} + secrets: inherit +