devanshsrivastav commited on
Commit
674e1c3
1 Parent(s): 2b3e3f0

added environment variables to main.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +3 -1
.github/workflows/main.yml CHANGED
@@ -18,4 +18,6 @@ jobs:
18
  - name: Push to hub
19
  env:
20
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
21
- run: git push https://devanshsrivastav:$HF_TOKEN@huggingface.co/spaces/devanshsrivastav/GoEmotions main
 
 
 
18
  - name: Push to hub
19
  env:
20
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
21
+ HF_username: devanshsrivastav # your huggingface.co username here (check your profile page)
22
+ HF_space_name: GoEmotions # name of the hub space to which you want to push the model
23
+ run: git push https://$HF_username:[email protected]/spaces/$HF_username/HF_space_name main