Skip to content

Commit 37478d8

Browse files
author
snailRun
committed
fix: 修复actions 失败
1 parent 2d9fd1b commit 37478d8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/sync-post.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,9 @@ jobs:
5757
pnpm run sync-post
5858
git add .
5959
git commit -m 'chore(ci): blog sync'
60-
git push
60+
61+
- name: Pull latest changes from remote
62+
run: git pull --rebase origin main
63+
64+
- name: Push changes to remote
65+
run: git push

0 commit comments

Comments
 (0)