update main.yml
Browse files
.github/workflows/main.yml
CHANGED
@@ -10,14 +10,11 @@ jobs:
|
|
10 |
sync-to-hub:
|
11 |
runs-on: ubuntu-latest
|
12 |
steps:
|
13 |
-
- uses: actions/checkout@
|
14 |
with:
|
15 |
fetch-depth: 0
|
16 |
-
|
17 |
-
env:
|
18 |
-
HF: ${{ secrets.HF_DEMO }}
|
19 |
-
run: git remote add space https://ehamid:[email protected]/spaces/ehamid/demo
|
20 |
- name: Push to hub
|
21 |
env:
|
22 |
-
|
23 |
-
run: git push
|
|
|
10 |
sync-to-hub:
|
11 |
runs-on: ubuntu-latest
|
12 |
steps:
|
13 |
+
- uses: actions/checkout@v3
|
14 |
with:
|
15 |
fetch-depth: 0
|
16 |
+
lfs: true
|
|
|
|
|
|
|
17 |
- name: Push to hub
|
18 |
env:
|
19 |
+
HF_TOKEN: ${{ secrets.HF_DEMO }}
|
20 |
+
run: git push https://ehamid:$HF_TOKEN@huggingface.co/spaces/ehamid/demo main
|