Skip to content

Commit

Permalink
Merge pull request #329 from rstudio/mm-docs-role
Browse files Browse the repository at this point in the history
switch docs from AWSID/secret to a role
  • Loading branch information
mmarchetti authored Jul 6, 2022
2 parents 55d7fa5 + c6ea3d8 commit e325764
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
types: [rsconnect_python_latest]
env:
DOCKER_TTY_FLAGS: ''
permissions:
id-token: write
contents: write
jobs:
test:
strategy:
Expand Down Expand Up @@ -123,8 +126,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

0 comments on commit e325764

Please sign in to comment.