From d0a1ed407ec437880beed9850678e2384e2fc140 Mon Sep 17 00:00:00 2001 From: ScriptSmith Date: Tue, 3 Oct 2023 19:16:05 +1000 Subject: [PATCH] Use secrets namespace --- .github/workflows/deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 7cc4707..2627f60 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -29,7 +29,7 @@ jobs: - uses: aws-actions/configure-aws-credentials@v4 with: aws-region: ap-southeast-2 - role-to-assume: ${{ env.API_ROLE_ARN }} + role-to-assume: ${{ secrets.API_ROLE_ARN }} role-duration-seconds: 900 output-credentials: true - name: Deploy base stack @@ -41,7 +41,7 @@ jobs: - uses: aws-actions/configure-aws-credentials@v4 with: aws-region: us-east-1 - role-to-assume: ${{ env.FRONTEND_ROLE_ARN }} + role-to-assume: ${{ secrets.FRONTEND_ROLE_ARN }} role-duration-seconds: 900 output-credentials: true - name: Deploy frontend stack