Skip to content

Commit

Permalink
Github action to build pdf output (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
dearlordylord committed May 19, 2024
1 parent 0a60a88 commit 9f51eef
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ Archieve/
*.fot
*.cb
*.cb2
.*.lb
.*.lb

# github action result
semicolon_delimited_script

0 comments on commit 9f51eef

Please sign in to comment.