From 3f2b2516f33d0eb5811ae33b38fd5a7b466c8864 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sun, 6 Oct 2019 16:45:58 +0200 Subject: [PATCH] deploy tweaks --- scripts/deploy.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index c0bf7683..ac6f4a7a 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -13,6 +13,15 @@ set -e; function s3sync { aws s3 sync ./public s3://"$1" \ + --include "*" \ + --exclude "*.html" \ + --exclude "sw.js" \ + --exclude "*page-data.json" \ + --exclude "chunk-map.json" \ + --exclude "sitemap.xml" \ + --exclude ".iconstats.json" \ + --exclude "humans.txt" \ + --exclude "robots.txt" \ --cache-control public,max-age=31536000,immutable \ --delete \ --acl public-read @@ -21,6 +30,7 @@ function s3sync { --exclude "*" \ --include "*.html" \ --include "sw.js" \ + --include "*page-data.json" \ --include "chunk-map.json" \ --include "sitemap.xml" \ --include ".iconstats.json" \