Skip to content

Commit

Permalink
fix zip
Browse files Browse the repository at this point in the history
  • Loading branch information
kaarthik108 committed Jul 22, 2023
1 parent eb9f183 commit cf4b78c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-south-1
aws-region: us-east-1
- name: Install dependencies
env:
CI: true
run: |
npm ci
- name: Zip and deploy
run: |
npx ncc build index.ts
mv node_modules dist/
npx ncc build index.ts -o dist
cd dist && zip -r deploy.zip ./*
ls
aws lambda update-function-code --function-name=resend_send --zip-file=fileb://dist/deploy.zip

0 comments on commit cf4b78c

Please sign in to comment.