mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
only invalidate if added or modified files (#16639)
* only invalidate if added or modified files * renamed parameter
This commit is contained in:
parent
1a94092e58
commit
634848228a
4
.github/workflows/s3_upload.yml
vendored
4
.github/workflows/s3_upload.yml
vendored
|
@ -34,11 +34,11 @@ jobs:
|
||||||
id: filter
|
id: filter
|
||||||
|
|
||||||
- name: Invalidate CloudFront
|
- name: Invalidate CloudFront
|
||||||
if: github.repository_owner == 'trustwallet' && github.event_name == 'push'
|
if: github.repository_owner == 'trustwallet' && github.event_name == 'push' && steps.filter.outputs.paths != ''
|
||||||
uses: chetan/invalidate-cloudfront-action@v2
|
uses: chetan/invalidate-cloudfront-action@v2
|
||||||
env:
|
env:
|
||||||
PATHS: ${{ steps.filter.outputs.paths }}"
|
PATHS: ${{ steps.filter.outputs.paths }}"
|
||||||
DISTRIBUTION: ${{ secrets.DISTRIBUTION }}
|
DISTRIBUTION: ${{ secrets.AWS_DISTRIBUTION }}
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
AWS_REGION: "us-east-1"
|
AWS_REGION: "us-east-1"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user