From 3987e6d6538359a1122d8677060d7ace1bb43945 Mon Sep 17 00:00:00 2001 From: Matthew Elwell Date: Wed, 8 Jan 2025 10:55:31 +0000 Subject: [PATCH] Explicit environment input names --- .github/workflows/.reusable-frontend-deploy.yml | 4 ++-- .github/workflows/frontend-deploy-production.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/.reusable-frontend-deploy.yml b/.github/workflows/.reusable-frontend-deploy.yml index c67ff7b1eb72..d07e24f2415b 100644 --- a/.github/workflows/.reusable-frontend-deploy.yml +++ b/.github/workflows/.reusable-frontend-deploy.yml @@ -3,11 +3,11 @@ on: workflow_call: inputs: - environment: + gh_environment: type: string description: Github environment to use for secret / variable access required: true - npm_build_env: + npm_build_environment: type: string description: The environment set as the ENV environment variable when running npm run env required: true diff --git a/.github/workflows/frontend-deploy-production.yml b/.github/workflows/frontend-deploy-production.yml index 79746cef91d1..91fd1c04ca1f 100644 --- a/.github/workflows/frontend-deploy-production.yml +++ b/.github/workflows/frontend-deploy-production.yml @@ -33,13 +33,13 @@ jobs: needs: run-tests uses: ./.github/workflows/.reusable-frontend-deploy.yml with: - environment: prod - npm_build_env: prod + gh_environment: prod + npm_build_environment: prod deploy-demo: name: Deploy to Vercel Demo needs: run-tests uses: ./.github/workflows/.reusable-frontend-deploy.yml with: - environment: demo - npm_build_env: prod + gh_environment: demo + npm_build_environment: prod