SOY NV AI commited on
Commit
a2153ce
·
1 Parent(s): f3b0d74

fix: use manual git clone instead of actions/checkout for HF space

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy-to-hf.yml +2 -6
.github/workflows/deploy-to-hf.yml CHANGED
@@ -31,12 +31,8 @@ jobs:
31
  git config --global user.email "actions@github.com"
32
 
33
  - name: Checkout Hugging Face Space
34
- uses: actions/checkout@v3
35
- with:
36
- repository: wiizm/soyailabs
37
- path: hf-space
38
- token: ${{ secrets.HF_TOKEN }}
39
- persist-credentials: true
40
 
41
  - name: Copy files to Hugging Face Space
42
  run: |
 
31
  git config --global user.email "actions@github.com"
32
 
33
  - name: Checkout Hugging Face Space
34
+ run: |
35
+ git clone https://wiizm:${{ secrets.HF_TOKEN }}@huggingface.co/spaces/wiizm/soyailabs hf-space
 
 
 
 
36
 
37
  - name: Copy files to Hugging Face Space
38
  run: |