Skip to content

Commit

Permalink
Set correct environment casings
Browse files Browse the repository at this point in the history
  • Loading branch information
cheemingli committed Feb 2, 2024
1 parent 415ffaf commit 49ed511
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-acc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
contents: write
uses: ./.github/workflows/reusable-deploy.yml
with:
environment: Acceptance
environment: acceptance
ref: ref/tags/${{ inputs.version }}
run-job: ${{ startsWith(version, 'v') }}
secrets: inherit
6 changes: 3 additions & 3 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to Acc
name: Deploy to Prd

on:
workflow_dispatch:
Expand All @@ -8,13 +8,13 @@ on:
required: true

jobs:
deploy-acc:
deploy-prd:
name: Deploy
permissions:
contents: write
uses: ./.github/workflows/reusable-deploy.yml
with:
environment: Production
environment: production
ref: ref/tags/${{ inputs.version }}
run-job: ${{ startsWith(version, 'v') }}
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
contents: write
uses: ./.github/workflows/reusable-deploy.yml
with:
environment: Test
environment: test
ref: ${{ github.ref }}
run-job: ${{ github.event.workflow_run.conclusion == 'success' }}
secrets: inherit

0 comments on commit 49ed511

Please sign in to comment.