Skip to content

Commit 0768e68

Browse files
committed
still trying
1 parent fb70f9c commit 0768e68

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/latex-to-pdf.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,14 @@ jobs:
3434
3535
- name: Commit and push PDF
3636
env:
37-
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
37+
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
3838
run: |
3939
git config --global user.name "github-actions[bot]"
4040
git config --global user.email "github-actions[bot]@users.noreply.github.com"
41-
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}
41+
42+
# Set authenticated remote URL using the PAT
43+
git remote set-url origin https://x-access-token:${PERSONAL_TOKEN}@github.com/${{ github.repository }}
44+
4245
git add assets/pdfs/resume.pdf
4346
git commit -m "Auto-update resume.pdf from LaTeX source" || echo "No changes to commit"
4447
git push

0 commit comments

Comments
 (0)