Skip to content

Commit 1c36b29

Browse files
authored
Merge pull request #281 from rtfpessoa/fix-website
fix: Pass invalidation paths correctly
2 parents de3d404 + f89c348 commit 1c36b29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ jobs:
6363
run: |
6464
cd website
6565
aws s3 sync --region eu-west-1 --delete . s3://diff2html.xyz --metadata-directive REPLACE --cache-control max-age=31557600
66-
aws cloudfront create-invalidation --region eu-west-1 --distribution-id ${{ secrets.AWS_CF_DISTRIBUTION_ID }} --paths '/index.html /demo.html'
66+
aws cloudfront create-invalidation --region eu-west-1 --distribution-id ${{ secrets.AWS_CF_DISTRIBUTION_ID }} --paths /index.html /demo.html /sitemap.xml /robots.txt

0 commit comments

Comments
 (0)