I just set up s3 deployment and it works great. I was already deploying to s3 from my local machine. However, after deploying, I need to run an AWS Cloudfront invalidation to prevent caching issues. Would it possible to include this in the pipeline?
Specifically what I run locally is:
aws cloudfront create-invalidation --distribution-id XXX --paths /index.html /error.html