Skip to content

Commit

Permalink
Update master.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
heythisischris committed Mar 20, 2024
1 parent d15fa97 commit cb630d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Deploy to Lambda
on: push
jobs:
upload:
Deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -13,4 +13,4 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
- name: Deploy to Lambda
run: npm install && npx esbuild ./*.ts --bundle --platform=node --outdir=dist --external:@aws-sdk && cd dist && zip -r lambda.zip * > /dev/null && aws lambda update-function-code --function-name heythisischris --zip-file \"fileb://lambda.zip\" > /dev/null && rm -rf lambda.zip
run: npm install && npx esbuild ./*.ts --bundle --platform=node --outdir=dist --external:@aws-sdk && cd dist && zip -r lambda.zip * > /dev/null && aws lambda update-function-code --function-name heythisischris --zip-file fileb://lambda.zip > /dev/null

0 comments on commit cb630d3

Please sign in to comment.