AWS
You’ll need awscli for these.
Deploy a static site to s3 🔗
aws s3 sync ./dist s3://my-repo --delete
Invalidate CloudFront cache 🔗
aws cloudfront create-invalidation --distribution-id myDistributionId --paths '/*'
You’ll need awscli for these.
aws s3 sync ./dist s3://my-repo --delete
aws cloudfront create-invalidation --distribution-id myDistributionId --paths '/*'