SOY NV AI commited on
Commit ·
a2153ce
1
Parent(s): f3b0d74
fix: use manual git clone instead of actions/checkout for HF space
Browse files
.github/workflows/deploy-to-hf.yml
CHANGED
|
@@ -31,12 +31,8 @@ jobs:
|
|
| 31 |
git config --global user.email "actions@github.com"
|
| 32 |
|
| 33 |
- name: Checkout Hugging Face Space
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
repository: wiizm/soyailabs
|
| 37 |
-
path: hf-space
|
| 38 |
-
token: ${{ secrets.HF_TOKEN }}
|
| 39 |
-
persist-credentials: true
|
| 40 |
|
| 41 |
- name: Copy files to Hugging Face Space
|
| 42 |
run: |
|
|
|
|
| 31 |
git config --global user.email "actions@github.com"
|
| 32 |
|
| 33 |
- name: Checkout Hugging Face Space
|
| 34 |
+
run: |
|
| 35 |
+
git clone https://wiizm:${{ secrets.HF_TOKEN }}@huggingface.co/spaces/wiizm/soyailabs hf-space
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
- name: Copy files to Hugging Face Space
|
| 38 |
run: |
|