Skip to content

Commit 7571bd4

Browse files
authored
update Github creds in main workflow
1 parent 9284463 commit 7571bd4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ jobs:
119119
name: docs
120120
path: docs/site/
121121
- uses: aws-actions/configure-aws-credentials@v1
122+
id: creds
122123
with:
123-
aws-access-key-id: ${{ secrets.AWS_ID }}
124-
aws-secret-access-key: ${{ secrets.AWS_SECRET }}
125-
aws-region: us-east-1
124+
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
125+
aws-region: ${{ secrets.AWS_REGION }}
126126
- if: github.event_name == 'push' && github.ref == 'refs/heads/master'
127127
run: make sync-latest-docs-to-s3
128128
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

0 commit comments

Comments
 (0)