Spaces:
Runtime error
Runtime error
Anmol Gupta
commited on
Update main.yml
Browse files
.github/workflows/main.yml
CHANGED
|
@@ -10,14 +10,10 @@ jobs:
|
|
| 10 |
sync-to-hub:
|
| 11 |
runs-on: ubuntu-latest
|
| 12 |
steps:
|
| 13 |
-
- uses: actions/checkout@
|
| 14 |
with:
|
| 15 |
fetch-depth: 0
|
| 16 |
-
- name: Add remote
|
| 17 |
-
env:
|
| 18 |
-
HF: ${{ secrets.HF_token }}
|
| 19 |
-
run: git remote add space https://binarycache:$HF_token@huggingface.co/spaces/binarycache/cxl
|
| 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 |
- name: Push to hub
|
| 17 |
env:
|
| 18 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 19 |
+
run: git push https://HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/FULL_SPACE_NAME main
|