Vishnu commited on
Commit
b8402d7
·
unverified ·
1 Parent(s): b02cf4b

another update

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +9 -7
.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
- - uses: actions/checkout@v6
 
11
  with:
12
  fetch-depth: 0
13
  lfs: true
14
- - uses: huggingface/hub-sync@v0.1.3
15
- with:
16
- github_repo_id: vishnu0967/medsam-api-testing
17
- huggingface_repo_id: vishnu0967/medsam-api-testing
18
- hf_token: ${{ secrets.HF_TOKEN }}
 
 
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