Skip to content

Commit

Permalink
Add Debug Repository Access in latex.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nsswifter committed Dec 2, 2024
1 parent 2e27b1e commit 4a50d73
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,22 @@ jobs:
git commit -m "Update CV.pdf"
git push origin main
- name: Debug Repository Access
env:
GITHUB_TOKEN: ${{ secrets.PRIVATE_REPO_PAT }}
run: |
echo "GITHUB_TOKEN ${GITHUB_TOKEN}"
git remote add private-repo https://x-access-token:${GITHUB_TOKEN}@github.com/nsswifter/AcademicApplicationDocuments.git
git ls-remote private-repo || echo "Failed to access repository"
- name: Debug Access
env:
GITHUB_TOKEN: ${{ secrets.PRIVATE_REPO_PAT }}
run: |
set -x
git remote add private-repo https://x-access-token:${GITHUB_TOKEN}@github.com/nsswifter/AcademicApplicationDocuments.git
git ls-remote private-repo
- name: Merge changes with private repository
env:
GITHUB_TOKEN: ${{ secrets.PRIVATE_REPO_PAT }}
Expand Down

0 comments on commit 4a50d73

Please sign in to comment.