This commit is contained in:
@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user