Spaces:
Runtime error
Runtime error
feat: configure git settings for GitHub Actions deployment to Hugging Face
Browse files
.github/workflows/deploy-to-huggingface.yml
CHANGED
|
@@ -20,6 +20,12 @@ jobs:
|
|
| 20 |
with:
|
| 21 |
python-version: '3.11'
|
| 22 |
cache: 'pip'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
- name: Configure Hugging Face
|
| 25 |
env:
|
|
|
|
| 20 |
with:
|
| 21 |
python-version: '3.11'
|
| 22 |
cache: 'pip'
|
| 23 |
+
|
| 24 |
+
- name: Config git
|
| 25 |
+
run: |
|
| 26 |
+
git config --global credential.helper store
|
| 27 |
+
git config --global user.email "actions@github.com"
|
| 28 |
+
git config --global user.name "github-actions"
|
| 29 |
|
| 30 |
- name: Configure Hugging Face
|
| 31 |
env:
|