WladlenVK commited on
Commit
4584bbb
·
unverified ·
1 Parent(s): 2cc2016

Create sync.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/sync.yml +18 -0
.github/workflows/sync.yml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Sync to Hugging Face
2
+ on:
3
+ push:
4
+ branches: [main]
5
+ workflow_dispatch:
6
+
7
+ jobs:
8
+ sync:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ with:
13
+ fetch-depth: 0
14
+ - name: Push to HF
15
+ env:
16
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
17
+ run: |
18
+ git push --force https://WladlenVK:$HF_TOKEN@huggingface.co/spaces/WladlenVK/ИМЯ_ВАШЕГО_СПЕЙСА main