update drone image

keep-around/b214ac7012ef42593bee62c207888a2593bc5a38
Dmitry Kosolapov home 3 years ago committed by Andrei Dekterev
parent 3ab82595d4
commit e763560157
  1. 5
      .drone.yml

@ -16,7 +16,7 @@ trigger:
steps: steps:
- name: deploy script - name: deploy script
image: node:18-alpine image: node:16-alpine
environment: environment:
AWS_ACCESS_KEY_ID: AWS_ACCESS_KEY_ID:
@ -30,8 +30,7 @@ steps:
commands: commands:
- apk add --no-cache aws-cli npm - apk add --no-cache aws-cli npm
- npm install --force - npm install --legacy-peer-deps
- npm audit fix --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 "/*"

Loading…
Cancel
Save