Github action to build pdf output (#46) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
compile: | |
name: Compile resume pdf | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
- name: Run the build process with Docker | |
uses: addnab/docker-run-action@v3 | |
with: | |
image: thomasweise/docker-texlive-full:latest | |
options: -v ${{ github.workspace }}:/data | |
run: | | |
cd data | |
pdflatex sourabh_bajaj_resume.tex | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Apply pdflatex changes |