Skip to content

Commit ba3e6a2

Browse files
authored
Update update-blog-dashboard-test.yml
1 parent 1d37c32 commit ba3e6a2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/update-blog-dashboard-test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,15 @@ jobs:
2020
run: git clone --depth 1 https://github.com/sadmanca/2024-25-pey-archive pey-archive
2121

2222
- name: Clone the blog repo (shallow clone)
23-
run: git clone --depth 1 https://github.com/sadmanca/blog blog-repo
24-
25-
- name: Pull latest changes from remote
2623
run: |
24+
git clone --depth 1 https://github.com/sadmanca/blog blog-repo
2725
cd blog-repo
28-
git pull origin pey-2024-test || echo "No changes to pull or merge conflict occurred."
26+
git fetch --all --depth 1
2927
3028
- name: Checkout pey-2024-test branch in blog repo
3129
run: |
3230
cd blog-repo
33-
git checkout -b pey-2024-test
31+
git checkout pey-2024-test
3432
3533
- name: View git log
3634
run: |

0 commit comments

Comments
 (0)