luanpoppe commited on
Commit
55a5349
·
1 Parent(s): 45d402f

fix: new fix

Browse files
.github/workflows/sync-to-huggingface.yml CHANGED
@@ -15,12 +15,6 @@ jobs:
15
  fetch-depth: 0
16
  lfs: true
17
 
18
- - name: Debug private key
19
- run: |
20
- echo "Private key:"
21
- echo "${{ secrets.HF_SSH_PRIVATE_KEY }}"
22
- ls -la ~/.ssh
23
-
24
  - name: Set up SSH
25
  run: |
26
  mkdir -p ~/.ssh
@@ -28,9 +22,17 @@ jobs:
28
  chmod 600 ~/.ssh/custom_key
29
  ssh-keyscan huggingface.co >> ~/.ssh/known_hosts
30
 
 
31
  git remote set-url space [email protected]:spaces/luanpoppe/vella-backend.git
32
  git remote set-url tests [email protected]:spaces/luanpoppe/vella-backend-tests.git
33
 
 
 
 
 
 
 
 
34
  - name: Determine target remote
35
  id: determine_remote
36
  run: |
 
15
  fetch-depth: 0
16
  lfs: true
17
 
 
 
 
 
 
 
18
  - name: Set up SSH
19
  run: |
20
  mkdir -p ~/.ssh
 
22
  chmod 600 ~/.ssh/custom_key
23
  ssh-keyscan huggingface.co >> ~/.ssh/known_hosts
24
 
25
+ # Update remotes to use SSH
26
  git remote set-url space [email protected]:spaces/luanpoppe/vella-backend.git
27
  git remote set-url tests [email protected]:spaces/luanpoppe/vella-backend-tests.git
28
 
29
+ - name: Debug setup
30
+ run: |
31
+ echo "Private key (first 50 chars):"
32
+ echo "${{ secrets.HF_SSH_PRIVATE_KEY }}" | head -c 50
33
+ echo ""
34
+ ls -la ~/.ssh
35
+
36
  - name: Determine target remote
37
  id: determine_remote
38
  run: |