edodso2 commited on
Commit
662f8fc
·
1 Parent(s): 5eaaba5

add HF sync

Browse files
Files changed (1) hide show
  1. .github/workflows/hf-sync.yml +17 -0
.github/workflows/hf-sync.yml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Sync to Hugging Face hub
2
+ on:
3
+ push:
4
+ branches: [main]
5
+
6
+ jobs:
7
+ sync-to-hub:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+ with:
12
+ fetch-depth: 0
13
+ lfs: true
14
+ - name: Push to hub
15
+ env:
16
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
17
+ run: git push https://edodso2:$HF_TOKEN@huggingface.co/spaces/edodso2/mock-json-generator main