Ruslan Magana Vsevolodovna commited on
Commit
348a179
1 Parent(s): 1520b93

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 hub
2
+ on:
3
+ push:
4
+ branches: [main]
5
+ workflow_dispatch:
6
+
7
+ jobs:
8
+ sync-to-hub:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ with:
13
+ fetch-depth: 0
14
+ lfs: true
15
+ - name: Push to hub
16
+ env:
17
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
18
+ run: git push -f https://ruslanmv:$HF_TOKEN@huggingface.co/spaces/ruslanmv/hf-llm-api-collection main