A pipeline for generating Resumes in pdf format.
Profile content is provided through environment variables. See .env.example for the required fields and naming format.
Generated files in dist/ embed that profile data, so treat them as sensitive outputs and do not commit or publish them unless that is intentional.
- Build-time profile data is validated and written from
.env. - Vite builds the HTML output.
- A post-build step inlines assets so the final HTML is self-contained.
- Puppeteer renders the final PDF.
- Copy
.env.exampleto.envand fill in your details. - Run
npm ci. - Run
npm run buildto generate the HTML output. - Run
npm run pdfto generate the PDF. On success, the command removesdist/index.htmlso the rendered profile data does not remain on disk.
The code and GitHub Actions workflow are available under the MIT license, so you can reuse and adapt them for your own resume pipeline.