Skip to content

Commit

Permalink
fix(ci): remove env.target where not allowed (#1081)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Apr 30, 2024
1 parent 6aaba96 commit 140e22f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false

env:
# Input, test (if ref=main) or demo
target: ${{ inputs.target || github.ref == github.event.repository.default_branch && 'test' || 'demo' }}

jobs:
# Deploy to TEST or DEMO (both use TEST namespace)
deploys:
Expand All @@ -38,7 +34,7 @@ jobs:
with:
environment: test
tag: ${{ inputs.tag }} # Uses PR number if blank
target: ${{ env.target }}
target: ${{ inputs.target || github.ref == github.event.repository.default_branch && 'test' || 'demo' }}
test: true

# Only deploy to PROD from the main (default) branch
Expand Down

0 comments on commit 140e22f

Please sign in to comment.