Skip to content

Commit

Permalink
Commit and Push changes to update-cv branch in latex.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nsswifter committed Dec 2, 2024
1 parent 5659948 commit 75e3ebc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,16 @@ jobs:
latexmk_use_lualatex: true
root: .

- name: Commit and Push changes to main branch
- name: Commit and Push changes to update-cv branch
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git checkout -b update-cv
git checkout -b update-cv || git checkout update-cv
git add CV.pdf
git commit -m "Update CV.pdf"
git push --set-upstream origin update-cv
git fetch origin
git rebase origin/update-cv
git push origin update-cv --force-with-lease
- name: Create a Pull Request to the Private Repository
run: |
Expand Down

0 comments on commit 75e3ebc

Please sign in to comment.