File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -125,11 +125,17 @@ jobs:
125125 done | sort | uniq | tr '\n' ' ' > .updated_files
126126
127127 - name : Invalidate on CloudFront
128- uses : chetan/invalidate-cloudfront-action@master
128+ uses : chetan/invalidate-cloudfront-action@v2.3
129129 if : env.PUBLISH == 'true'
130130 env :
131131 DISTRIBUTION : ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION }}
132132 AWS_REGION : " us-east-1"
133133 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
134134 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
135135 PATHS_FROM : .updated_files
136+
137+ - name : Purge cache on Cloudflare
138+ uses : jakejarvis/cloudflare-purge-action@v0.3.0
139+ env :
140+ CLOUDFLARE_TOKEN : ${{ secrets.CLOUDFLARE_TOKEN }}
141+ CLOUDFLARE_ZONE : ${{ secrets.CLOUDFLARE_ZONE }}
You can’t perform that action at this time.
0 commit comments