File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments