From 8316985aaf2c66ee5f487abeda4d2e4d9965501d Mon Sep 17 00:00:00 2001 From: kaarthik108 Date: Sun, 23 Jul 2023 14:22:16 +1200 Subject: [PATCH] Fix packages --- .github/workflows/main.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 684693b..51e85bf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,8 +26,6 @@ jobs: npm ci - name: Zip and deploy run: | - npx ncc build index.ts -o dist - zip -r deploy.zip . -x "node_modules/*" ".react-email/*" "dist/*" - mv deploy.zip dist/ - ls dist - aws lambda update-function-code --function-name=resend_send --zip-file=fileb://dist/deploy.zip + npx ncc build index.ts -o . + zip -r deploy.zip * -x "dist/*" ".react-email/*" + aws lambda update-function-code --function-name=resend_send --zip-file=fileb://deploy.zip