Uploads files to S3 and invalidates the cache in CloudFront.