diff --git a/.github/workflows/aws-deploy.yaml b/.github/workflows/aws-deploy.yaml index a4b9a27..b302694 100644 --- a/.github/workflows/aws-deploy.yaml +++ b/.github/workflows/aws-deploy.yaml @@ -24,7 +24,7 @@ on: environment: required: true type: string - default: "dev" + default: ${{ github.ref_name }} jobs: deploy: diff --git a/.github/workflows/deploy-dev.yaml b/.github/workflows/deploy-dev.yaml index d2d24b7..4c76620 100644 --- a/.github/workflows/deploy-dev.yaml +++ b/.github/workflows/deploy-dev.yaml @@ -15,4 +15,3 @@ jobs: with: role-to-assume: "arn:aws:iam::631692904429:role/sagebase-github-oidc-sage-bionetworks-schematic-infra" role-session-name: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }} - environment: "dev" diff --git a/.github/workflows/deploy-prod.yaml b/.github/workflows/deploy-prod.yaml index 69b63cd..6d6bedd 100644 --- a/.github/workflows/deploy-prod.yaml +++ b/.github/workflows/deploy-prod.yaml @@ -15,4 +15,3 @@ jobs: with: role-to-assume: "arn:aws:iam::878654265857:role/sagebase-github-oidc-sage-bionetworks-schematic-infra" role-session-name: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }} - environment: "prod" diff --git a/.github/workflows/deploy-stage.yaml b/.github/workflows/deploy-stage.yaml index 7b2c65e..6c879ac 100644 --- a/.github/workflows/deploy-stage.yaml +++ b/.github/workflows/deploy-stage.yaml @@ -15,4 +15,3 @@ jobs: with: role-to-assume: "arn:aws:iam::878654265857:role/sagebase-github-oidc-sage-bionetworks-schematic-infra" role-session-name: ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }} - environment: "stage"