Spaces:
Running
Running
Commit ·
6ee35c8
1
Parent(s): 3b1479b
simplify CI/CD pipeline v2
Browse files
.github/workflows/ci-cd.yml
CHANGED
|
@@ -64,7 +64,11 @@ jobs:
|
|
| 64 |
fetch-depth: 0
|
| 65 |
|
| 66 |
- name: Push to Hugging Face
|
|
|
|
|
|
|
| 67 |
run: |
|
| 68 |
git config --global user.email "ci@github.com"
|
| 69 |
git config --global user.name "GitHub Actions"
|
| 70 |
-
git
|
|
|
|
|
|
|
|
|
| 64 |
fetch-depth: 0
|
| 65 |
|
| 66 |
- name: Push to Hugging Face
|
| 67 |
+
env:
|
| 68 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 69 |
run: |
|
| 70 |
git config --global user.email "ci@github.com"
|
| 71 |
git config --global user.name "GitHub Actions"
|
| 72 |
+
git config --global credential.helper store
|
| 73 |
+
echo "https://abdullah090809:${HF_TOKEN}@huggingface.co" > ~/.git-credentials
|
| 74 |
+
git push https://huggingface.co/spaces/abdullah090809/Job_Tracker_API HEAD:main --force
|