psvkaushik commited on
Commit
8db50d4
·
unverified ·
1 Parent(s): bbfb650

Create main.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +21 -0
.github/workflows/main.yml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Sync to Hugging Face
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@v2
12
+ with:
13
+ fetch-depth: 0
14
+ - name: Add remote
15
+ env:
16
+ HF: ${{secrets.HF}}
17
+ run: git remote add space Kaushik
18
+ - name: Push to Hub
19
+ env:
20
+ HF: ${{secrets.HF}}
21
+ run: git push --force Kaushik