JeCabrera commited on
Commit
a14a288
·
unverified ·
1 Parent(s): 9b621c2

Create sync.yml

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