From f89c3481a744f2f1e0ddf830f631f59102941f69 Mon Sep 17 00:00:00 2001 From: Rodrigo Fernandes Date: Sun, 12 Jan 2020 02:48:55 +0000 Subject: [PATCH] fix: Pass invalidation paths correctly --- .github/workflows/website.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 1314c01..79e101f 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -63,4 +63,4 @@ jobs: run: | cd website 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