Skip to content

Commit a6d04d2

Browse files
authored
Update frontend.yml
1 parent 61164cc commit a6d04d2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: .github/workflows/frontend.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,10 @@ jobs:
4141
SOURCE_DIR: 'Sample-01/build'
4242

4343
- name: Invalidate CloudFront Cache
44-
uses: chetan/invalidate-cloudfront-action@v1.4
44+
uses: awact/gh-action-invalidate-cloudfront@v1.0.0
4545
with:
46-
distribution-id: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}
46+
distribution: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}
4747
paths: '/*'
4848
env:
49-
AWS_REGION: 'us-east-2'
5049
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
5150
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)