pannman commited on
Commit
012a027
·
1 Parent(s): 3fee101

fix githu actions

Browse files
.github/workflows/pysen-python-app.yaml CHANGED
@@ -50,4 +50,12 @@ jobs:
50
  with:
51
  commit_message: Apply code formatting changes
52
  file_pattern: '*.py'
 
 
 
 
 
 
 
 
53
 
 
50
  with:
51
  commit_message: Apply code formatting changes
52
  file_pattern: '*.py'
53
+
54
+ - name: Push to Hugging Face Space
55
+ if: github.event.pull_request.merged == true
56
+ env:
57
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
58
+ run: |
59
+ git remote add spaces https://huggingface.co/spaces/test-almondo/test
60
+ git push spaces develop:main
61