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
- - name: Sync with Hugging Face
13
- uses: nateraw/huggingface-sync-action@v0.0.4
14
- with:
15
- github_repo_id: ebbalg/iris-space
16
- huggingface_repo_id: ebbalg/Iris
17
- repo_type: space
18
- space_sdk: gradio
19
- hf_token: ${{ secrets.HF_TOKEN }}
 
 
 
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