Merge pull request #281 from rtfpessoa/fix-website
fix: Pass invalidation paths correctly
This commit is contained in:
commit
1c36b2986a
1 changed files with 1 additions and 1 deletions
2
.github/workflows/website.yml
vendored
2
.github/workflows/website.yml
vendored
|
|
@ -63,4 +63,4 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd website
|
cd website
|
||||||
aws s3 sync --region eu-west-1 --delete . s3://diff2html.xyz --metadata-directive REPLACE --cache-control max-age=31557600
|
aws s3 sync --region eu-west-1 --delete . s3://diff2html.xyz --metadata-directive REPLACE --cache-control max-age=31557600
|
||||||
aws cloudfront create-invalidation --region eu-west-1 --distribution-id ${{ secrets.AWS_CF_DISTRIBUTION_ID }} --paths '/index.html /demo.html'
|
aws cloudfront create-invalidation --region eu-west-1 --distribution-id ${{ secrets.AWS_CF_DISTRIBUTION_ID }} --paths /index.html /demo.html /sitemap.xml /robots.txt
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue