chunchu-08 commited on
Commit
cca72f3
·
1 Parent(s): 77349d1
Files changed (1) hide show
  1. .github/workflows/deploy-to-hf.yml +5 -5
.github/workflows/deploy-to-hf.yml CHANGED
@@ -16,10 +16,10 @@ jobs:
16
  env:
17
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
18
  run: |
19
- echo "HF_TOKEN is: ${HF_TOKEN}" # DEBUG: Remove this after confirming token is set
20
  git config user.name "Karthik80-hub"
21
  git config user.email "chunchukarthik200@gmail.com"
22
- git remote add hf https://huggingface:${HF_TOKEN}@huggingface.co/spaces/chunchu-08/LLM-Comparison-Hub
23
- git fetch hf main || true
24
- git pull --rebase hf main || true
25
- git push --force hf main
 
 
16
  env:
17
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
18
  run: |
 
19
  git config user.name "Karthik80-hub"
20
  git config user.email "chunchukarthik200@gmail.com"
21
+ git remote add hf https://huggingface.co/spaces/chunchu-08/LLM-Comparison-Hub
22
+ echo "#!/bin/sh" > askpass.sh
23
+ echo "echo \$HF_TOKEN" >> askpass.sh
24
+ chmod +x askpass.sh
25
+ GIT_ASKPASS=$PWD/askpass.sh git push --force hf main