Skip to content

Update sync-private-repo.yml #50

Update sync-private-repo.yml

Update sync-private-repo.yml #50

Workflow file for this run

name: Build and Deploy CV to GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Node.js 20
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up LaTeX environment
uses: xu-cheng/latex-action@v3
with:
root_file: CV.tex
latexmk_use_lualatex: true
root: .
- name: Commit and Push changes to main branch
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add CV.pdf
git commit -m "Update CV.pdf"
git push origin main