Skip to content

Commit aa647ec

Browse files
committed
Fix LFS by setting correct remote URL and add debugging info
1 parent 0cfa843 commit aa647ec

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/docs-build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,17 @@ jobs:
8080
8181
# Navigate to submodule and configure LFS with correct URL
8282
cd _notebooks
83+
84+
# Check current remote and LFS config
85+
echo "Current remote:"
86+
git remote -v
87+
echo "Current LFS config:"
88+
git config --list | grep lfs || true
89+
90+
# Set the correct remote URL with token
91+
git remote set-url origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/Lightning-AI/lightning-tutorials.git"
92+
93+
# Configure LFS to use the correct endpoint
8394
git config lfs.url "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/Lightning-AI/lightning-tutorials.git/info/lfs"
8495
git config credential.helper store
8596

0 commit comments

Comments
 (0)