DEV Community

loading...
Cover image for Generate your Resume with GitHub Actions

Generate your Resume with GitHub Actions

Josh Kasuboski
Improving the developer experience and making development more accessible to take code from laptop to production.
Originally published at joshkasuboski.com Updated on ・1 min read

My Workflow

I made a workflow that generates my resume from a jsonresume file. I update the resume.json file and the workflow will generate an html and pdf version of my resume. It also deploys the new version of my resume to my personal site.

Submission Category:

This workflow will keep your resume up to date anywhere you need it. It's definitely a DIY Deployment.

Yaml File or Link to Code

My resume repo.

GitHub logo kasuboski / resume

A resume schema file with generated outputs

create-release

Current generation steps

  • Edit resume.json or hack/resume.html.tmpl for data or template changes
  • Create html with go run hack/template.go
  • Get pdf from browser (or use workflow)

Workflow

This repo has a GitHub Actions workflow that will generate the html and pdf versions of resume.json. It will also create a release and update my personal site when a tag is pushed.






Template repo to generate your own.

GitHub logo kasuboski / resume-template

A template to generate your Resume using json and a go template

resume-template

A template to generate your Resume using json and a go template

Setup

  • Fill out your resume.json
  • Edit hack/resume.html.tmpl
  • go run hack/template.go

Releasing your resume

  • git tag my-resume-version
  • git push origin --tags
  • Resume HTML and PDF will be on the releases page

Badge

create-release

Change the badge links to be your repo

You can see a working version at kasuboski/resume. That repo also updates a hugo site with the generated files.

Additional Resources / Info

The workflow uses a variety of previously available actions.
fifsky/html-to-pdf-action for pdf generation
actions/upload-artifact to add the html and pdf as build artifacts
softprops/action-gh-release to create a release with the files

Discussion (0)

Forem Open with the Forem app