From 66094a377f9eee1301ef7a7e16a0c09eca11eb18 Mon Sep 17 00:00:00 2001 From: Sebastian Scatularo Date: Tue, 28 Nov 2023 17:25:24 -0300 Subject: [PATCH] update build inputs to allow build from a connect tag --- .github/workflows/production.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 1a5a5cdb2..1ecd6696a 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -11,14 +11,24 @@ on: - 'Cloudflare-Page-Deploy' required: true default: 'Cloudflare-Page-Deploy' + connect-branch: + description: 'Branch Name' + type: string + required: true + default: 'portal-bridge' + advanced-tools-branch: + description: 'Branch Name' + type: string + required: true + default: 'advanced-tools' jobs: build: name: "Build Release" uses: ./.github/workflows/build.yml with: name: prod - connect-branch: portal-bridge - advanced-tools-branch: advanced-tools + connect-branch: ${{inputs.connect-branch}} + advanced-tools-branch: ${{inputs.advanced-tools-branch}} environment: ${{inputs.environment}} secrets: inherit deploy: