mirror of
https://github.com/CPunch/resume.git
synced 2025-09-27 16:20:07 +00:00
Added workflow to build resume automagically
This commit is contained in:
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 }}
|
Reference in New Issue
Block a user