Spaces:
Sleeping
Sleeping
dani-ange
commited on
Update train-deploy.yaml
Browse files
.github/workflows/train-deploy.yaml
CHANGED
@@ -32,10 +32,10 @@ jobs:
|
|
32 |
|
33 |
- name: Merge PR changes into main
|
34 |
run: |
|
35 |
-
git checkout
|
36 |
-
git pull origin
|
37 |
-
git merge --no-ff origin/
|
38 |
-
git push origin
|
39 |
|
40 |
- name: Deploy to Hugging Face
|
41 |
env:
|
|
|
32 |
|
33 |
- name: Merge PR changes into main
|
34 |
run: |
|
35 |
+
git checkout "master" # Switch to main branch
|
36 |
+
git pull origin "master" # Ensure latest changes
|
37 |
+
git merge --no-ff origin/main -m "Merging PR changes from master"
|
38 |
+
git push origin master # Push merged changes to main
|
39 |
|
40 |
- name: Deploy to Hugging Face
|
41 |
env:
|