Skip to content

Commit c7972c3

Browse files
committed
ci(deploy): fix the error when create a existed folder
1 parent bb3278b commit c7972c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/website_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: |
6969
summary="${{ steps.inference.outputs.response }}"
7070
# 使用 printf 保证换行缩进和变量替换都准确
71-
mkdir overrides
71+
mkdir -p overrides
7272
printf '{%% extends "base.html" %%}\n\n{%% block announce %%}\n <strong>📢 %s 查看<a href="/plotfig/changelog">更新日志</a>。</strong>\n{%% endblock %%}\n' "$summary" > overrides/main.html
7373
7474
- name: Copy CHANGELOG.md to docs/

0 commit comments

Comments
 (0)