|
|
|
@ -30,7 +30,7 @@ steps: |
|
|
|
|
|
|
|
|
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- apk add --no-cache aws-cli npm |
|
|
|
- apk add --no-cache aws-cli npm |
|
|
|
- npm install --legacy-peer-deps |
|
|
|
- npm install --force |
|
|
|
- npm run build |
|
|
|
- npm run build |
|
|
|
- aws s3 sync build s3://instat-frontend-test-a --delete |
|
|
|
- aws s3 sync build s3://instat-frontend-test-a --delete |
|
|
|
- aws cloudfront create-invalidation --distribution-id E1WZHVCHZ48SG6 --paths "/*" |
|
|
|
- aws cloudfront create-invalidation --distribution-id E1WZHVCHZ48SG6 --paths "/*" |
|
|
|
|