If I use the aws-cloudfront-invalidate by pushing files to s3, does it automatically pick up the paths of the commited files, or does it invalidate everything each time, I only want to invalidate the path of the commited file each time?
from the examples, this does what i need with LOCAL_PATH: 'build' ?
script: - pipe: atlassian/aws-s3-deploy:0.3.2 variables: AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION: 'us-east-1' S3_BUCKET: 'my-bucket-name' LOCAL_PATH: 'build' - pipe: atlassian/aws-cloudfront-invalidate:0.7.0 variables: AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION DISTRIBUTION_ID: '123xyz'
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.