serverless-components / website

:zap: Instantly deploy static website on serverless infrastructure with zero configuration using Serverless Components.
https://serverless.com
Apache License 2.0
157 stars 49 forks source link

Old build artifacts not removed from s3 #66

Open zac-yang opened 4 years ago

zac-yang commented 4 years ago

Hi there, first off thanks for making such an easy to use framework!

I'm trying out this component for deploying a React SPA with S3 & CloudFront. However I'm noticing that build artifacts from previous builds remain in my bucket - is there an option to remove these on a fresh deploy? (Similar to the default behaviour of serverless-finch)

Best Zac

BrunoBernardino commented 2 years ago

Hi @zac-yang did you end up using something else or building your own custom script to deploy? I'm starting to evaluate that option, but would prefer not to, really.

zac-yang commented 2 years ago

Nope, I didn't end up resolving this issue, and am not actively using this currently.

BrunoBernardino commented 2 years ago

Thanks.