From 50b28490ac6e5707c9c55a84571400258b709f45 Mon Sep 17 00:00:00 2001 From: mitchelljfs Date: Sat, 21 Jul 2018 02:08:03 -0700 Subject: [PATCH] Addition of --delete flag on s3 sync command --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3a773c9..b3a4fff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ install: script: - "npm run build" - - "aws s3 sync ./build/ s3://mjfs.us --acl public-read" + - "aws s3 sync ./build/ s3://mjfs.us --acl public-read --delete" - > aws cloudfront create-invalidation --distribution-id $CF_DISTRIBUTION_ID --paths /asset-manifest.json /favicon.ico /index.html /manifest.json /service-worker.js