Spaces:
Running
on
Zero
Running
on
Zero
John Ho
commited on
Commit
·
efd7232
1
Parent(s):
882019f
updated action to always commit the requirements.txt
Browse files
.github/workflows/deploy_to_hf_space.yaml
CHANGED
|
@@ -71,13 +71,9 @@ jobs:
|
|
| 71 |
run: |
|
| 72 |
git config user.name "github-actions[bot]"
|
| 73 |
git config user.email "github-actions[bot]@users.noreply.github.com"
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
git add requirements.txt
|
| 78 |
-
git commit -m "chore: update requirements.txt [auto-generated by CI]"
|
| 79 |
-
echo "requirements.txt committed."
|
| 80 |
-
fi
|
| 81 |
|
| 82 |
- name: Push to HuggingFace Space
|
| 83 |
if: ${{ steps.check_hf_token.outputs.push_enabled == 'true' }}
|
|
|
|
| 71 |
run: |
|
| 72 |
git config user.name "github-actions[bot]"
|
| 73 |
git config user.email "github-actions[bot]@users.noreply.github.com"
|
| 74 |
+
git add requirements.txt
|
| 75 |
+
git commit -m "chore: update requirements.txt [auto-generated by CI]"
|
| 76 |
+
echo "requirements.txt committed."
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
- name: Push to HuggingFace Space
|
| 79 |
if: ${{ steps.check_hf_token.outputs.push_enabled == 'true' }}
|