Skip to content

Commit

Permalink
Explicit environment input names
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell committed Jan 8, 2025
1 parent f0ae8c3 commit 3987e6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/.reusable-frontend-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/frontend-deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3987e6d

Please sign in to comment.