mariaoliv commited on
Commit
384f4fc
1 Parent(s): 3d62193

Create main.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +18 -0
.github/workflows/main.yml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Sync to Hugging Face HUB
2
+ on:
3
+ push:
4
+ branches: [main]
5
+ # to run this workflow manually from the Actions tab
6
+ workflow_dispatch:
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 --force https://mariasandu:$HF_token@huggingface.co/spaces/mariasandu/sentiment-analysis-of-a-tweet main