We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a730a5 commit ed4bc08Copy full SHA for ed4bc08
.github/workflows/sync-posts.yml
@@ -19,7 +19,7 @@ jobs:
19
- name: Sync Posts from Notes Repo
20
run: |
21
# 清空现有文章
22
- rm -rf content/posts/*
+ # rm -rf content/post/*
23
24
# 克隆笔记库的publish目录
25
git clone --depth 1 --filter=blob:none --sparse https://${{ secrets.PAT }}@github.com/NilCent/codenote.git temp-notes
@@ -28,7 +28,7 @@ jobs:
28
cd ..
29
30
# 复制文章到content/posts
31
- cp -r temp-notes/publish/* content/posts/
+ cp -r temp-notes/publish/* content/post/
32
rm -rf temp-notes
33
34
# 如果有图片等资源,也需要同步
content/posts/CS110L/first_post.md
0 commit comments