mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2026-03-12 21:22:57 -07:00
Invalidate SEO deploys and fix translation script path
This commit is contained in:
6
.github/workflows/build_master.yml
vendored
6
.github/workflows/build_master.yml
vendored
@@ -176,4 +176,10 @@ jobs:
|
||||
run: |
|
||||
aws s3 cp ./src/robots.txt s3://hacktricks-cloud/robots.txt --content-type text/plain --cache-control max-age=300
|
||||
aws s3 cp ./src/robots.txt s3://hacktricks-cloud/en/robots.txt --content-type text/plain --cache-control max-age=300
|
||||
|
||||
- name: Invalidate CloudFront HTML and SEO assets
|
||||
run: |
|
||||
aws cloudfront create-invalidation \
|
||||
--distribution-id "${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}" \
|
||||
--paths "/en/*" "/robots.txt" "/en/robots.txt" "/sitemap.xml" "/en/sitemap.xml"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user