This repository serves as a single source of truth for my professional identity. It leverages CI/CD automation to generate and deploy both my web portfolio and my LaTeX-based CV.
The entire workflow is driven by GitHub Actions and triggered by changes in the data/cv.yaml file:
- Data Source: All content is stored in a structured
cv.yamlfile. - HTML Generation: A workflow uses Pandoc and a custom HTML5/CSS3 template to build a responsive web portfolio, which is then deployed to lorenzodortona.com via Cloudflare Pages.
- PDF Generation: A secondary workflow uses Pandoc with the Tectonic typesetting engine to compile a professional PDF from a LaTeX template.
- Automated Deployment: The generated artifacts (HTML and PDF) are automatically updated and committed back to the repository or deployed to production.
- Logic: YAML (Structured Data)
- Engines: Pandoc (Document Converter), Tectonic (Modern LaTeX)
- Automation: GitHub Actions (Workflows)
- Hosting: Cloudflare Pages
- Templates: Custom HTML/CSS and LaTeX templates
data/cv.yaml: The source of truth for all my information.templates/: Contains thesite.htmlandcv.latextemplates..github/workflows/: Automation logic for building and deploying.index.html&cv.pdf: Generated outputs (automatically updated).
If you have Pandoc and Tectonic installed, you can build the outputs locally:
# Build HTML
pandoc --template templates/site.html --metadata-file data/cv.yaml -f markdown -t html -o index.html
# Build PDF
pandoc --template templates/cv.latex --metadata-file data/cv.yaml --pdf-engine=tectonic -o cv.pdf