File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -89,10 +89,10 @@ jobs:
8989 asset_name : ${{ steps.create_dist.outputs.whl_basename }}
9090 asset_content_type : application/x-wheel+zip
9191 - uses : aws-actions/configure-aws-credentials@v1
92+ id : creds
9293 with :
93- aws-access-key-id : ${{ secrets.AWS_ID }}
94- aws-secret-access-key : ${{ secrets.AWS_SECRET }}
95- aws-region : us-east-1
94+ role-to-assume : ${{ secrets.AWS_ROLE_TO_ASSUME }}
95+ aws-region : ${{ secrets.AWS_REGION }}
9696 - if : github.event_name == 'push' && github.ref == 'refs/heads/master'
9797 run : make sync-latest-to-s3
9898 - if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
@@ -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')
You can’t perform that action at this time.
0 commit comments