# Remove all contents from S3 – except the assets.
aws s3 rm s3://web-design-int-production/ --recursive --exclude 'assets/*' &&

# Copy the built site to S3.
aws s3 cp public/ s3://web-design-int-production/ --recursive &&

# Invalidate the cache so Cloudfront serves the updated files.
aws cloudfront create-invalidation --distribution-id 'E2IXT87450S2NU' --paths '/*'
