diff --git a/.drone.yml b/.drone.yml index 4ecd94b..1f38d79 100644 --- a/.drone.yml +++ b/.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