From 0825a18a3403fca2523aed437ce203a37d28f0ee Mon Sep 17 00:00:00 2001 From: Oliver Roick Date: Fri, 12 Jan 2024 12:29:30 +1100 Subject: [PATCH] hard code env --- .github/workflows/deploy.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4a36721..af07fc1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,7 +16,7 @@ jobs: environment: [stacadmin-eoapirisk-demo] runs-on: ubuntu-latest environment: - name: ${{ matrix.environment }} + name: stacadmin-eoapirisk-demo steps: - name: Setup Node.js @@ -38,10 +38,8 @@ jobs: - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 - env: - ROLE: "arn:aws:iam::390960605471:role/stacadmin-eoapirisk-demo-deploy" with: - role-to-assume: "arn:aws:iam::390960605471:role/stacadmin-eoapirisk-demo-deploy" + role-to-assume: ${{ secrets.DEPLOY_ROLE_ARN }} aws-region: us-west-2 - name: Sync with S3 bucket