From 7c6e02c11f09e632ce47e0a43f467907d3acad0d Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Fri, 7 Dec 2018 13:36:03 +0100 Subject: [PATCH] deployment tweaks --- scripts/deploy.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 8b47269..f80f09f 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -14,9 +14,10 @@ function s3sync { aws s3 sync ./public s3://"$1" \ --exclude "*" \ --include "*.js" \ + --include "*.map" \ --include "*.css" \ --include "static/*" \ - --include "icons/*" \ + --include "*.png" \ --exclude "sw.js" \ --exclude "workbox*/*" \ --cache-control public,max-age=31536000,immutable \ @@ -27,6 +28,8 @@ function s3sync { --exclude "*" \ --include "*.html" \ --include "sw.js" \ + --include "chunk-map.json" \ + --include "sitemap.xml" \ --cache-control public,max-age=0,must-revalidate \ --delete \ --acl public-read