pannman commited on
Commit
b4241a1
·
1 Parent(s): c4a2804

fix githubactions

Browse files
.github/workflows/pysen-python-app.yaml CHANGED
@@ -52,7 +52,7 @@ jobs:
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: |
 
52
  file_pattern: '*.py'
53
 
54
  - name: Push to Hugging Face Space
55
+ if: github.event_name == 'push'
56
  env:
57
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
58
  run: |