Website | PDF Version |
---|---|
eralpkaraduman.github.io/cv | latest release |
If you want to have your own, just fork this repo and modify the index.md
.
This is a fairly modified version of
elipapa's markdown-cv project.
Which is using jekyll to host the cv as static site on github.
My version simply uses sindresorhus's github-markdown-css, the close replica of github's markdown style. And it is able to auto-generate a PDF version release through travis-ci (if set up)
- Maintain your cv using Markdown
- Free website for your CV (hosted on github-pages)
- Automaticaly updated PDF version (hosted on github releases)
- Always have one link to your latest CV online for free
- Update it easily on the web (using github's web editor)
If you configure the GitHub Action, it creates a pdf version then create a release on github. You can always link to the latest release by adding the sufffix /releases/latest
to repo url.
For example;
github.com/your-username-here/cv/releases/latest
To enable this;
- Go to github.com/settings/tokens
- Generate a personal access token, give it
public_repo
permission - Go to the secrets settings of this github repo (the one that is your clone)
- https://github.com/your-username-here/cv/settings/secrets/actions
- Remember to change the username in the url above
- Click "New repository secret"
- Name it
GH_OAUTH_TOKEN
- Paste the token you generated in the earlier step here
- Next time you make a change, it should create a new release under
/releases
page of your github repo - Latest release is conveniently always at
/releases/latest
I added a feature which automatically adds the latest PDF version download link to the website.
This only works when automatic PDF version generation was set up (mentioned above).
This is done by javascript running on the page, it tries to fetch github's API to get the last release.
This link won't be generated in the PDF itself for several reasons;
- Lack of necessity, since you have the pdf there's no need to download it again.
- I didn't want to figure out the issues with executing javascript in pdf generation context
Travis CI blocks the request to github API i guess?We don't use travis anymore, automation is moved to github actions- I disabled javascript on wkhtmltopdf, see reasons above.
(You don't need to run it locally to update this, do it on github's web ui)
Since after your every change a new cv will be generated, this may cause excessive number of generations. To avoid this you may choose to make several commits on your local environment. Then push them all at once. To be able to preview the CV you should run Jekyll locally.
You should look at jekyll's own documentation but, this is how you'd get started;
bundle install
bundle exec jekyll serve --host=0.0.0.0