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 47c3458 commit c0b3baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
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${{ github.ref == 'refs/heads/master' && '-staging' || '' }} --zip-file fileb://lambda.zip > /dev/null
aws lambda update-function-code --function-name heythisischris${{ github.ref !== 'refs/heads/master' && '-staging' || '' }} --zip-file fileb://lambda.zip > /dev/null

0 comments on commit c0b3baa

Please sign in to comment.