Skip to content

Commit ed146ba

Browse files
author
neil
committed
fix yml error
1 parent d4b4dff commit ed146ba

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/tpl/generate.tpl.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,8 @@ jobs:
128128
if git diff --cached --quiet; then
129129
echo "Nothing to commit, skipping push"
130130
else
131-
BASEVM_LOG="$(cat /tmp/basevm-log.txt)"
132-
git commit -F- <<EOF
133-
Update ${{ github.repository }} from base-vm
134-
135-
${BASEVM_LOG}
136-
EOF
131+
printf "Update ${{ github.repository }} from base-vm\n\n%s\n" "$(cat /tmp/basevm-log.txt)" > /tmp/commit-msg.txt
132+
git commit -F /tmp/commit-msg.txt
137133
git pull --rebase --autostash
138134
git push
139135
fi

0 commit comments

Comments
 (0)