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.
Current generation steps
- Edit
resume.jsonorhack/resume.html.tmplfor 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.
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-versiongit push origin --tags- Resume HTML and PDF will be on the releases page
Badge
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
Top comments (0)