Spaces:
Sleeping
Sleeping
Commit ·
eb86ba0
1
Parent(s): b69f412
Update action
Browse files
.github/workflows/sync_to_space.yml
CHANGED
|
@@ -20,7 +20,7 @@ jobs:
|
|
| 20 |
- name: Overwrite 'spaces' with 'main'
|
| 21 |
run: |
|
| 22 |
git fetch origin main:main
|
| 23 |
-
git reset --hard main
|
| 24 |
|
| 25 |
- name: Delete 'README.md'
|
| 26 |
run: |
|
|
@@ -33,6 +33,8 @@ jobs:
|
|
| 33 |
- name: Add all files and commit to 'spaces'
|
| 34 |
run: |
|
| 35 |
git add .
|
|
|
|
|
|
|
| 36 |
git commit -m "Sync main content to spaces"
|
| 37 |
|
| 38 |
- name: Push to Hugging Face
|
|
|
|
| 20 |
- name: Overwrite 'spaces' with 'main'
|
| 21 |
run: |
|
| 22 |
git fetch origin main:main
|
| 23 |
+
git reset --hard main
|
| 24 |
|
| 25 |
- name: Delete 'README.md'
|
| 26 |
run: |
|
|
|
|
| 33 |
- name: Add all files and commit to 'spaces'
|
| 34 |
run: |
|
| 35 |
git add .
|
| 36 |
+
git config --global user.email "anoori@college.harvard.edu"
|
| 37 |
+
git config --global user.name "Ayush Noori"
|
| 38 |
git commit -m "Sync main content to spaces"
|
| 39 |
|
| 40 |
- name: Push to Hugging Face
|