Spaces:
Running
Running
Commit
·
7b9f064
1
Parent(s):
c07916d
fix: update remote URL in GitHub Actions workflow for pushing to Hugging Face
Browse files
.github/workflows/Push_to_hf.yaml
CHANGED
@@ -19,10 +19,9 @@ jobs:
|
|
19 |
- name: Push to Space
|
20 |
env:
|
21 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
22 |
-
HF_USERNAME: ${{ secrets.HF_USERNAME }}
|
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
|
28 |
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 |
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)
|