From 784264782617251ea0a4ad33679fe8f3ea08c80d Mon Sep 17 00:00:00 2001 From: Jorge Rodriguez Date: Thu, 18 Nov 2021 13:27:45 -0500 Subject: [PATCH] It maybe worked, more content types --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 18dcf44f..44fd9b07 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,5 +40,8 @@ jobs: - run: aws s3 sync htdocs s3://docs.gl --delete --content-type text/html - run: aws s3 cp s3://docs.gl/ s3://docs.gl/ --exclude '*' --include '*.zip' --no-guess-mime-type --content-type="application/zip" --metadata-directive="REPLACE" --recursive + - run: aws s3 cp s3://docs.gl/ s3://docs.gl/ --exclude '*' --include '*.js' --no-guess-mime-type --content-type="text/js" --metadata-directive="REPLACE" --recursive + - run: aws s3 cp s3://docs.gl/ s3://docs.gl/ --exclude '*' --include '*.xml' --no-guess-mime-type --content-type="text/xml" --metadata-directive="REPLACE" --recursive + - run: aws s3 cp s3://docs.gl/ s3://docs.gl/ --exclude '*' --include '*.css' --no-guess-mime-type --content-type="text/css" --metadata-directive="REPLACE" --recursive - run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_CLOUDFRONT_DOCSGL_DISTRIBUTION_ID }} --paths /* \ No newline at end of file