Skip to content

Commit

Permalink
Stop building PDF on Vercel
Browse files Browse the repository at this point in the history
Build book locally, update manually.

The reason is the lack of resources on maintaining
Vercel infrastructure every time something breaks.
  • Loading branch information
bespoyasov committed Dec 19, 2023
1 parent 8345024 commit a5f6d14
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ npm-debug.log*

.vscode
.next
.cache
dist

/public/solid-book.pdf
/services/BookBuilder.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"dev": "next",
"test": "jest --watchAll",
"now-build": "next build && npm run book:generate",
"now-build": "next build",
"start": "next start",
"lint": "eslint \"./**/*.{ts,tsx}\"",
"book:generate": "npx esbuild services/BookBuilder/index.ts --bundle --outfile=services/BookBuilder.js --platform=node --format=esm --external:puppeteer --external:md-to-pdf && node services/BookBuilder.js"
Expand Down
Binary file added public/solid-book.pdf
Binary file not shown.

1 comment on commit a5f6d14

@vercel
Copy link

@vercel vercel bot commented on a5f6d14 Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.