@adplenty-tech/adplenty-components-library 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,33 @@
1
+ image: node:16
2
+
3
+ pipelines:
4
+ branches:
5
+ master:
6
+ - step:
7
+ name: Prep for deployment
8
+ caches:
9
+ - node
10
+ script:
11
+ - npm install
12
+ - npm run preview
13
+ artifacts:
14
+ - build/**
15
+ - step:
16
+ deployment: production
17
+ name: Deploy to Production
18
+ script:
19
+ - pipe: atlassian/aws-s3-deploy:1.6.2
20
+ variables:
21
+ AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
22
+ AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
23
+ AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
24
+ S3_BUCKET: $S3_BUCKET_PROD
25
+ LOCAL_PATH: 'build/'
26
+ ACL: 'public-read'
27
+ - pipe: atlassian/aws-cloudfront-invalidate:0.11.0
28
+ variables:
29
+ AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
30
+ AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
31
+ AWS_REGION: $AWS_DEFAULT_REGION
32
+ DISTRIBUTION_ID: $CLOUDFRONT_DISTRIBUTION_PROD
33
+ PATHS: '/*'