From 9f51eef588c96226fd65190309ac6f7d05869a1a Mon Sep 17 00:00:00 2001 From: Igor Loskutov Date: Sun, 19 May 2024 17:36:25 -0400 Subject: [PATCH] Github action to build pdf output (#46) --- .github/workflows/docker-image.yml | 26 ++++++++++++++++++++++++++ .gitignore | 5 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 00000000..27776283 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -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 \ No newline at end of file diff --git a/.gitignore b/.gitignore index dca350f4..1299d4a1 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,7 @@ Archieve/ *.fot *.cb *.cb2 -.*.lb \ No newline at end of file +.*.lb + +# github action result +semicolon_delimited_script \ No newline at end of file