Spaces:
Running
Running
Commit
·
5dc3d64
1
Parent(s):
7b9f064
fix: add HF_USERNAME to GitHub Actions workflow for pushing to Hugging Face
Browse files
.github/workflows/Push_to_hf.yaml
CHANGED
@@ -19,9 +19,10 @@ jobs:
|
|
19 |
- name: Push to Space
|
20 |
env:
|
21 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
|
|
22 |
run: |
|
23 |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
24 |
git config --global user.name "github-actions[bot]"
|
25 |
git remote remove origin || true
|
26 |
git remote add origin "https://${HF_USERNAME}:${HF_TOKEN}@huggingface.co/spaces/jatinmehra/CRAWL-GPT-CHAT"
|
27 |
-
git push origin main || (git branch -M main && git push -f origin main)
|
|
|
19 |
- name: Push to Space
|
20 |
env:
|
21 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
22 |
+
HF_USERNAME: jatinmehra
|
23 |
run: |
|
24 |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
25 |
git config --global user.name "github-actions[bot]"
|
26 |
git remote remove origin || true
|
27 |
git remote add origin "https://${HF_USERNAME}:${HF_TOKEN}@huggingface.co/spaces/jatinmehra/CRAWL-GPT-CHAT"
|
28 |
+
git push origin main || (git branch -M main && git push -f origin main)
|