mirror of
https://github.com/CPunch/resume.git
synced 2024-12-22 16:10:04 +00:00
Added workflow to build resume automagically
This commit is contained in:
parent
8aedc70e74
commit
cc2e9c637a
25
.github/workflows/create-resume.yaml
vendored
Normal file
25
.github/workflows/create-resume.yaml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: Check Builds
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- resume/*
|
||||
- resume.tex
|
||||
- awesome-cv.tex
|
||||
|
||||
jobs:
|
||||
build-resume:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Git repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Compile LaTeX document
|
||||
uses: xu-cheng/latex-action@v2
|
||||
with:
|
||||
root_file: resume.tex
|
||||
latexmk_use_xelatex: true
|
||||
- name: Make Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: resume.pdf
|
||||
body: Automated build for ${{ github.head_ref }}.${{ github.sha }}
|
@ -1,7 +1,13 @@
|
||||
|
||||
# CPunch's resume
|
||||
|
||||
This resume assumes a full installation of a LaTex environment.
|
||||
Compile and build my resume with the following command:
|
||||
|
||||
```sh
|
||||
xelatex resume.tex
|
||||
```
|
||||
```
|
||||
|
||||
# Release builds
|
||||
|
||||
Each push causes a github action to build & release a copy of my resume on the [releases](/releases) page.
|
Loading…
Reference in New Issue
Block a user