From 49ed511b522d77a9ebdbaa6cc8603b2ef763bfdb Mon Sep 17 00:00:00 2001 From: James Li Date: Fri, 2 Feb 2024 15:47:39 +0100 Subject: [PATCH] Set correct environment casings --- .github/workflows/deploy-acc.yml | 2 +- .github/workflows/deploy-prod.yml | 6 +++--- .github/workflows/deploy-test.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-acc.yml b/.github/workflows/deploy-acc.yml index d5cf3f7..2b4af95 100644 --- a/.github/workflows/deploy-acc.yml +++ b/.github/workflows/deploy-acc.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index a83dded..55a1c4f 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -1,4 +1,4 @@ -name: Deploy to Acc +name: Deploy to Prd on: workflow_dispatch: @@ -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 \ No newline at end of file diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml index 5f797e1..7f94d14 100644 --- a/.github/workflows/deploy-test.yml +++ b/.github/workflows/deploy-test.yml @@ -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