From 164721c8f56a032bcd5a759491804a6857a599c6 Mon Sep 17 00:00:00 2001 From: Michael Marchetti Date: Tue, 28 Jun 2022 11:48:12 -0400 Subject: [PATCH] switch docs from AWSID/secret to a role --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 08aa4dd1..fcab8844 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -123,8 +123,7 @@ jobs: - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && (contains(github.ref, 'b') == false) uses: aws-actions/configure-aws-credentials@v1 with: - aws-access-key-id: ${{ secrets.DOCS_AWS_ID }} - aws-secret-access-key: ${{ secrets.DOCS_AWS_SECRET }} + role-to-assume: ${{ secrets.DOCS_AWS_ROLE }} aws-region: us-east-1 - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && (contains(github.ref, 'b') == false) run: make promote-docs-in-s3