Skip to content

Commit

Permalink
aws cred
Browse files Browse the repository at this point in the history
  • Loading branch information
fingerartur committed Nov 20, 2023
1 parent 1b9bb2f commit d376d1a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ env:
# VERSION: ${{ github.event.release.tag_name }}
VERSION: 0.7.7

permissions:
id-token: write

jobs:
publish:
name: Publish a new version
Expand Down Expand Up @@ -58,11 +61,11 @@ jobs:

# # TODO how does this work? Does the repo need to be registered to be
# # able to assume that role or what?
# - name: Assume AWS role
# uses: aws-actions/configure-aws-credentials@v1-node16
# with:
# role-to-assume: arn:aws:iam::068037490145:role/prestoplay-web-web-uploader
# aws-region: us-east-1
- name: Assume AWS role
uses: aws-actions/configure-aws-credentials@v1-node16
with:
role-to-assume: arn:aws:iam::068037490145:role/prestoplay-web-web-uploader
aws-region: us-east-1

# Is there a dry run? Let's perhaps try version 0.0.1
# - name: Upload to S3
Expand Down

0 comments on commit d376d1a

Please sign in to comment.