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