Changing main.yml to match Randy's
Browse files
.github/workflows/main.yml
CHANGED
|
@@ -14,10 +14,6 @@ jobs:
|
|
| 14 |
with:
|
| 15 |
fetch-depth: 0
|
| 16 |
lfs: true
|
| 17 |
-
- name: Fetch latest changes from Hugging Face
|
| 18 |
-
run: git fetch https://MLOps-J-A-E:[email protected]/spaces/MLOps-J-A-E/J-A-E-Chatbot main
|
| 19 |
-
- name: Reset local branch to match Hugging Face
|
| 20 |
-
run: git reset --hard FETCH_HEAD
|
| 21 |
- name: Push to hub
|
| 22 |
env:
|
| 23 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
|
|
|
| 14 |
with:
|
| 15 |
fetch-depth: 0
|
| 16 |
lfs: true
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
- name: Push to hub
|
| 18 |
env:
|
| 19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|