Skip to content

Commit e833204

Browse files
authored
Merge pull request #260 from rstudio/mm-docs-role
Switch docs from AWS id/secret to a role
2 parents 01d59e9 + f923968 commit e833204

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ jobs:
125125
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
126126
uses: aws-actions/configure-aws-credentials@v1
127127
with:
128-
aws-access-key-id: ${{ secrets.DOCS_AWS_ID }}
129-
aws-secret-access-key: ${{ secrets.DOCS_AWS_SECRET }}
128+
role-to-assume: ${{ secrets.DOCS_AWS_ROLE }}
130129
aws-region: us-east-1
131130
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
132131
run: make promote-docs-in-s3

0 commit comments

Comments
 (0)