Skip to content

Commit

Permalink
use secret
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverroick committed Jan 12, 2024
1 parent 2662cf0 commit c9151d2
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,10 @@ jobs:
matrix:
environment: [stacadmin-eoapirisk-demo]
runs-on: ubuntu-latest
environment: ${{ matrix.environment }}
environment:
name: ${{ matrix.environment }}

steps:
- run: echo "target env ${{ matrix.environment }}"
- run: echo "arn ${{ env.ROLE }}"
env:
ROLE: ${{ secrets.DEPLOY_ROLE_ARN }}

- name: Setup Node.js
uses: actions/setup-node@v2
with:
Expand All @@ -45,7 +41,7 @@ jobs:
env:
ROLE: ${{ secrets.DEPLOY_ROLE_ARN }}
with:
role-to-assume: ${{ env.ROLE }}
role-to-assume: ${{ secrets.DEPLOY_ROLE_ARN }}
aws-region: us-west-2

- name: Sync with S3 bucket
Expand Down

0 comments on commit c9151d2

Please sign in to comment.