So, am deploying an application to S3 and Invalidating a cloudfront cache in my pipeline. I have the deployment to s3 and cloudfront invalidation in separate steps. both steps are vital parts of the deployment process and I would like them to be included in one Deployment with bitbucket. But, it looks like I can only specify one deployment per step.
Should I combine both S3 deployment and Cloudfront invalidation into one step?
Current bitbucket-pipelines.yml:
