ebbalg commited on
Commit ·
37d53dc
1
Parent(s): 1bd11cb
Update push_to_hf_space.yml
Browse files
.github/workflows/push_to_hf_space.yml
CHANGED
|
@@ -9,11 +9,13 @@ jobs:
|
|
| 9 |
build:
|
| 10 |
runs-on: ubuntu-latest
|
| 11 |
steps:
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
| 9 |
build:
|
| 10 |
runs-on: ubuntu-latest
|
| 11 |
steps:
|
| 12 |
+
- uses: actions/checkout@v3
|
| 13 |
+
with:
|
| 14 |
+
fetch-depth: 0
|
| 15 |
+
lfs: true
|
| 16 |
+
- name: Push to Hugging Face
|
| 17 |
+
env:
|
| 18 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 19 |
+
run: |
|
| 20 |
+
git remote add hf https://ebbalg:$HF_TOKEN@huggingface.co/spaces/ebbalg/Iris
|
| 21 |
+
git push hf main --force
|