This repo generates my CV into HTML and PDF.
npm run build
npm run demo
My latest CV is available to download here.
- Clone this repository on your local:
git clone [email protected]:margani/cv.git
- While on main branch, unset the upstream and remove the remotes:
git branch --unset-upstream
git remote remove origin
Now you have a copy of this repository on your local that has no relation to this github repository.
-
Modify
cv.json
to match your own resume. Changeoutput.fileName
attribute to your desired file name for the result PDF. For examplemy-cv.pdf
. -
Update
README.md
file to point to the newoutput.fileName
that you specified. -
(optional) Modify
cv.njk
to match your resume style. -
Create a new repository in GitHub. Assuming the SSH URL is:
[email protected]:<your username>/<your repository name>.git
, set the remote:
git remote add origin [email protected]:<your username>/<your repository name>.git
for example if jane
has created a repository named resume
, the command will be:
git remote add origin [email protected]:jane/resume.git
- Now you can push the changes:
git push origin main
- As soon as you push your changes now, or in the future, the GitHub action will run, and creates the PDF file in
latest
folder. Direct URL to your resume will behttps://raw.githubusercontent.com/<your username>/<your repository name>/main/latest/<the value of output.fileName>
. For example forjane
'sresume
repository, who has set theoutput.fileName
to bemy-cv.pdf
, it will behttps://raw.githubusercontent.com/jane/resume/main/latest/my-cv.pdf
. You can use this URL to send to recruiters, update this README.md file in your repository, etc.