We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1570240 commit 45bee1aCopy full SHA for 45bee1a
.github/workflows/deploy.yml
@@ -17,8 +17,11 @@ jobs:
17
with:
18
token: ${{ secrets.GITHUB_TOKEN }}
19
build_only: ${{ github.ref != 'refs/heads/master' }}
20
+ - name: Configure AWS credentials
21
+ if: github.ref == 'refs/heads/master'
22
+ uses: aws-actions/configure-aws-credentials@v1
23
+ with:
24
+ role-to-assume: arn:aws:iam::890664054962:role/forge-rust-lang-org-ci
25
+ aws-region: us-east-1
26
- run: aws cloudfront create-invalidation --distribution-id E12A3GKHZSREHP --paths "/*"
27
if: github.ref == 'refs/heads/master'
- env:
- AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
- AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
0 commit comments