chore: test cd in PR
Browse files
.github/workflows/huggingface-sync.yml
CHANGED
|
@@ -15,6 +15,7 @@ jobs:
|
|
| 15 |
uses: actions/checkout@v4
|
| 16 |
with:
|
| 17 |
fetch-depth: 0
|
|
|
|
| 18 |
|
| 19 |
- name: Configure Git
|
| 20 |
run: |
|
|
@@ -42,4 +43,5 @@ jobs:
|
|
| 42 |
run: |
|
| 43 |
git remote add space "https://JeffYang52415:[email protected]/spaces/JeffYang52415/LLMEval-Dataset-Parser" || true
|
| 44 |
git fetch space || true
|
|
|
|
| 45 |
git push -f space main:main
|
|
|
|
| 15 |
uses: actions/checkout@v4
|
| 16 |
with:
|
| 17 |
fetch-depth: 0
|
| 18 |
+
ref: ${{ github.head_ref || github.ref_name }}
|
| 19 |
|
| 20 |
- name: Configure Git
|
| 21 |
run: |
|
|
|
|
| 43 |
run: |
|
| 44 |
git remote add space "https://JeffYang52415:[email protected]/spaces/JeffYang52415/LLMEval-Dataset-Parser" || true
|
| 45 |
git fetch space || true
|
| 46 |
+
git branch -M main
|
| 47 |
git push -f space main:main
|