拆分尾图
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s

This commit is contained in:
2026-04-24 09:30:57 +08:00
parent f3b18233a4
commit 7d70e994f9
4 changed files with 33 additions and 18 deletions

View File

@ -9,6 +9,16 @@ jobs:
- name: Check out repository code
uses: https://gitee.com/mirror-actions/checkout@v4
- run: cd ${{ gitea.workspace }}
- name: Insert post image
run: |
set -euo pipefail
post_content="$(cat post.html)"
find . -type f -name "*.md" -print0 | while IFS= read -r -d '' file; do
{
printf '\n'
printf '%s\n' "$post_content"
} >> "$file"
done
- run: npx refs-cli
- name: copy exports to www
run: |