mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-22 17:23:22 +01:00
deploy tweaks
This commit is contained in:
parent
935bc68213
commit
831a8129f2
@ -12,6 +12,15 @@ set -e;
|
|||||||
|
|
||||||
function s3sync {
|
function s3sync {
|
||||||
aws s3 sync ./public s3://"$1" \
|
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 \
|
--cache-control public,max-age=31536000,immutable \
|
||||||
--delete \
|
--delete \
|
||||||
--acl public-read
|
--acl public-read
|
||||||
@ -20,6 +29,7 @@ function s3sync {
|
|||||||
--exclude "*" \
|
--exclude "*" \
|
||||||
--include "*.html" \
|
--include "*.html" \
|
||||||
--include "sw.js" \
|
--include "sw.js" \
|
||||||
|
--include "*page-data.json" \
|
||||||
--include "chunk-map.json" \
|
--include "chunk-map.json" \
|
||||||
--include "sitemap.xml" \
|
--include "sitemap.xml" \
|
||||||
--include ".iconstats.json" \
|
--include ".iconstats.json" \
|
||||||
|
Loading…
Reference in New Issue
Block a user