Skip to content

Commit

Permalink
bin/deploy-site.sh BUGFIX: do full s3 rm before s3 sync -- see [s…
Browse files Browse the repository at this point in the history
…3 sync \-\-exact\-timestamps flag ignored for uploads \#4460](aws/aws-cli#4460)
  • Loading branch information
da70 committed Sep 20, 2021
1 parent 671ce48 commit db2f6c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/deploy-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ done

shift $((OPTIND-1))

aws s3 sync web/ s3://dlts-dev-webs/finding-aids \
--delete \
--exact-timestamps
aws s3 rm s3://dlts-dev-webs/finding-aids --recursive
aws s3 sync web/ s3://dlts-dev-webs/finding-aids

aws cloudfront create-invalidation --distribution-id E19LLQKYYWM1M2 --paths '/finding-aids/*'

0 comments on commit db2f6c9

Please sign in to comment.