Skip to content

Commit 9537b3f

Browse files
committed
ci(publish-docs): Set versions on actions
1 parent bf5f2dd commit 9537b3f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/publish-docs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)