Each new git tag automatically generates a release with resume.pdf
, pushes resume.png
to master for preview in the readme, and triggers a Netlify build hook that pushes the new resume.pdf
to https://karlodelalic.me/resume.pdf.
- Fork this repo.
- Enable TravisCI for the forked repo.
- Create a Personal Access Token and add it to your TravisCI job's environment variables as
GITHUB_TOKEN
. - Edit
travis-push.sh
to point to your forked repo. - Add your resume tex files to the
src
directory (Make sure your main file is namedresume.tex
). - Edit the
after_deploy
Travis phase in.travis.yml
to include any hooks that need to be called on success (i.e. My job calls a Netlify build hook which pushes my resume to my personal website, see more here).
-
Make changes to your tex files.
-
Push your changes to the
master
branch. -
Create a new git tag (
git tag v1.0.0
and thengit push origin v1.0.0
) -
Your resume should be released on Github once the Travis build passes.
-
Download the latest release by executing the following command (this can be useful if you want to pull the latest release in a different repository through a build process):
curl -s https://api.github.com/repos/kdelalic/auto-resume/releases/latest \ | grep "browser_download_url" \ | cut -d : -f 2,3 \ | tr -d \" \ | wget -i -