This project automates the process of generating a PDF resume from a LaTeX (.tex) file and updating it on an S3 bucket, providing a static URL for my website - manavendrasen.com/resume
-
GitHub Action Trigger:
- When changes are made to the
.tex
LaTeX resume file, a GitHub Action is triggered.
- When changes are made to the
-
PDF Generation:
- The GitHub Action uses a custom Docker image manavendrasen/latex to generate the PDF file from the LaTeX source.
-
Upload to S3:
- The generated PDF is then uploaded to an S3 bucket.
-
Static URL for Website:
- S3 provides a static URL that can be used on your website to showcase the latest version of your resume.
To set up this workflow for your project, follow these steps:
- Clone this repository:
git clone git@github.com:manavendrasen/resume.git cd resume
- Update the
.tex
file and push.- Configure
AWS_KEY_ID
,AWS_SECRET_ACCESS_KEY
andAWS_BUCKET
in your Github Project Settings. - Modify the filenames in the ci.yml to match the .tex file.
- Configure
-
Clone this repository:
git clone git@github.com:manavendrasen/resume.git cd resume
-
Update the resume content and Rename the
Manavendra_Sen_Resume.tex
file to<your-file-name>
as desired. -
Create the docker image
docker build -d <your-name>/latex .
-
Create the docker image
docker run --rm -v $(PWD):/data <your-name>/latex <your-file-name>_Resume.tex