Skip to content

Commit

Permalink
It maybe worked, more content types
Browse files Browse the repository at this point in the history
  • Loading branch information
BSVino committed Nov 18, 2021
1 parent 81c22a5 commit 7842647
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 /*

0 comments on commit 7842647

Please sign in to comment.