+3
-2
@@ -31,8 +31,9 @@ steps:
|
|||||||
- python3 -m pip install cargo-lambda
|
- python3 -m pip install cargo-lambda
|
||||||
- cargo lambda build --release
|
- cargo lambda build --release
|
||||||
- cd ./target/lambda/namegen_lambda
|
- cd ./target/lambda/namegen_lambda
|
||||||
|
- tree ../../../
|
||||||
- cp ../../../output/_combined.json names.json
|
- cp ../../../output/_combined.json names.json
|
||||||
- zip /code.zip *
|
- zip ../../../code.zip *
|
||||||
|
|
||||||
- name: website-build
|
- name: website-build
|
||||||
image: node:14.14.0
|
image: node:14.14.0
|
||||||
@@ -69,4 +70,4 @@ steps:
|
|||||||
- cd __sapper__/export
|
- cd __sapper__/export
|
||||||
- aws s3 sync --delete . s3://$S3_WEBUI_BUCKET
|
- aws s3 sync --delete . s3://$S3_WEBUI_BUCKET
|
||||||
- aws cloudfront create-invalidation --distribution-id $CF_DISTRIBUTION_ID --paths "/*"
|
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user