Skip to content

Update latex.yml

Update latex.yml #36

Workflow file for this run

name: Build LaTeX Document
on: [push, pull_request]
jobs:
test:
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: CV.tex
- name: Upload PDF file
uses: actions/upload-artifact@v3
with:
name: PDF
path: CV.pdf
- name: GIT commit and push PDF
env:
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
CI_COMMIT_AUTHOR: Continuous Integration
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "[email protected]"
git add CV.pdf
git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
git push