diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0c521fd..3daf9be 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: @@ -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