Skip to content

Commit 076643f

Browse files
committed
something
1 parent 5e6bbfe commit 076643f

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/update-readme.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,12 @@ jobs:
2222
with:
2323
python-version: '3.x'
2424

25-
- name: 生成图片Markdown
25+
- name: 直接生成 README.md
2626
run: |
27-
python scripts/gen_images_md.py
28-
29-
- name: 更新README.md
30-
run: |
31-
head -n 20 README.md > README_tmp.md
32-
cat images.md >> README_tmp.md
33-
mv README_tmp.md README.md
27+
python scripts/gen_readme_md.py
3428
3529
- name: 提交并推送更改
3630
uses: stefanzweifel/git-auto-commit-action@v5
3731
with:
3832
commit_message: "自动更新图片预览"
39-
branch: ${{ github.ref }}
33+
branch: ${{ github.ref }}

images/头像.png

-63.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)