mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2026-06-12 19:11:44 -07:00
Avoid redundant robots CloudFront invalidations
This commit is contained in:
@@ -287,4 +287,4 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
aws cloudfront create-invalidation \
|
aws cloudfront create-invalidation \
|
||||||
--distribution-id "${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}" \
|
--distribution-id "${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}" \
|
||||||
--paths "/$BRANCH/*" "/robots.txt" "/sitemap.xml" "/$BRANCH/sitemap.xml"
|
--paths "/$BRANCH/*" "/sitemap.xml" "/$BRANCH/sitemap.xml"
|
||||||
|
|||||||
Reference in New Issue
Block a user