Spaces:
Runtime error
Runtime error
Vishnu commited on
another update
Browse files
.github/workflows/main.yml
CHANGED
|
@@ -4,15 +4,17 @@ on:
|
|
| 4 |
branches: [main]
|
| 5 |
|
| 6 |
jobs:
|
| 7 |
-
sync:
|
| 8 |
runs-on: ubuntu-latest
|
| 9 |
steps:
|
| 10 |
-
-
|
|
|
|
| 11 |
with:
|
| 12 |
fetch-depth: 0
|
| 13 |
lfs: true
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
| 4 |
branches: [main]
|
| 5 |
|
| 6 |
jobs:
|
| 7 |
+
sync-to-hub:
|
| 8 |
runs-on: ubuntu-latest
|
| 9 |
steps:
|
| 10 |
+
- name: Checkout Repository
|
| 11 |
+
uses: actions/checkout@v4
|
| 12 |
with:
|
| 13 |
fetch-depth: 0
|
| 14 |
lfs: true
|
| 15 |
+
|
| 16 |
+
- name: Push to Hugging Face Space
|
| 17 |
+
env:
|
| 18 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 19 |
+
run: |
|
| 20 |
+
git push --force https://vishnu0967:$HF_TOKEN@huggingface.co/spaces/vishnu0967/medsam-api-testing main
|