1
0
Fork 0

deploy tweaks

This commit is contained in:
Matthias Kretschmann 2019-10-06 16:45:58 +02:00
parent 79bc5c5bcc
commit 3f2b2516f3
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 10 additions and 0 deletions

View File

@ -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" \