Browse Source

fix ci

main
Gisle Aune 2 years ago
parent
commit
8de828a576
  1. 5
      .drone.yml

5
.drone.yml

@ -31,8 +31,9 @@ steps:
- python3 -m pip install cargo-lambda
- cargo lambda build --release
- cd ./target/lambda/namegen_lambda
- tree ../../../
- cp ../../../output/_combined.json names.json
- zip /code.zip *
- zip ../../../code.zip *
- name: website-build
image: node:14.14.0
@ -69,4 +70,4 @@ steps:
- cd __sapper__/export
- aws s3 sync --delete . s3://$S3_WEBUI_BUCKET
- aws cloudfront create-invalidation --distribution-id $CF_DISTRIBUTION_ID --paths "/*"
- aws lambda update-function-code --function-name namegen_lambda --zip-file fileb://../../code.zip
- aws lambda update-function-code --function-name namegen_lambda --zip-file fileb://code.zip
Loading…
Cancel
Save