Skip to content

Commit

Permalink
do not deploy logs to AWS Lambda
Browse files Browse the repository at this point in the history
If the files are large enough, they can exceed the file size cap of the
Lambda, causing the deploy to fail. Logs are not necessary for the
Lambda to run
  • Loading branch information
bkiahstroud committed Oct 1, 2024
1 parent 5edf3d7 commit e71c8d5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ rm -rf \
test \
tmp \
.ruby-lsp \
log \
vendor/bundle/ruby/3.*/cache
find . -iname "*~undo-tree~" -delete
popd
Expand All @@ -38,7 +39,8 @@ rm -rf \
README.md \
test \
tmp \
.ruby-lsp \
.ruby-lsp \
log \
vendor/bundle/ruby/3.*/cache
find . -iname "*~undo-tree~" -delete
popd
Expand All @@ -54,7 +56,8 @@ rm -rf \
README.md \
test \
tmp \
.ruby-lsp \
.ruby-lsp \
log \
vendor/bundle/ruby/3.*/cache
find . -iname "*~undo-tree~" -delete
popd

0 comments on commit e71c8d5

Please sign in to comment.