LorenzoBioinfo commited on
Commit
dfdc2ca
·
1 Parent(s): 2c8c51d

add deploy

Browse files
Files changed (1) hide show
  1. .github/workflows/ci.yml +7 -0
.github/workflows/ci.yml CHANGED
@@ -58,3 +58,10 @@ jobs:
58
  pytest --maxfail=1 --disable-warnings -q
59
  env:
60
  HF_TOKEN: ${{ secrets.HFREPO }}
 
 
 
 
 
 
 
 
58
  pytest --maxfail=1 --disable-warnings -q
59
  env:
60
  HF_TOKEN: ${{ secrets.HFREPO }}
61
+ - name: Push app update to Hugging Face Space
62
+ run: |
63
+ git add .
64
+ git commit -m "Auto-deploy new version"
65
+ git push https://user:${HF_TOKEN}@huggingface.co/spaces/Lordemarco/sentiment-fastapi main
66
+ env:
67
+ HF_TOKEN: ${{ secrets.HFREPO }}