Skip to content

Commit cd5f43b

Browse files
authored
chore: invalidate CloudFront cache when web changes (#3281)
1 parent d7cb5a0 commit cd5f43b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/docs.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,12 @@ jobs:
5454

5555
- name: Deploy artifact to GitHub Pages
5656
uses: actions/deploy-pages@v4
57+
58+
- name: Invalidate CloudFront cache
59+
run: |
60+
gh workflow run invalidate-cloudfront.yml \
61+
--repo apify/apify-docs-private \
62+
--field deployment=crawlee-web
63+
echo "✅ CloudFront cache invalidation workflow triggered successfully"
64+
env:
65+
GITHUB_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)