DEV Community

Cover image for Generate your Resume with GitHub Actions
Josh Kasuboski
Josh Kasuboski

Posted on • Edited on • Originally published at joshkasuboski.com

3 2

Generate your Resume with GitHub Actions

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

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay