Spaces:
Running
Running
Commit
·
102f03b
1
Parent(s):
5dc3d64
fix: rename job in GitHub Actions workflow to clarify pushing to Hugging Face Space
Browse files
.github/workflows/Push_to_hf.yaml
CHANGED
@@ -16,7 +16,7 @@ jobs:
|
|
16 |
with:
|
17 |
fetch-depth: 0
|
18 |
|
19 |
-
- name: Push to Space
|
20 |
env:
|
21 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
22 |
HF_USERNAME: jatinmehra
|
@@ -25,4 +25,4 @@ jobs:
|
|
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)
|
|
|
16 |
with:
|
17 |
fetch-depth: 0
|
18 |
|
19 |
+
- name: Push to Hugging Face Space
|
20 |
env:
|
21 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
22 |
HF_USERNAME: jatinmehra
|
|
|
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)
|