diff --git a/.forgejo/workflows/demo.yml b/.forgejo/workflows/demo.yml index af6c02a..8f65054 100644 --- a/.forgejo/workflows/demo.yml +++ b/.forgejo/workflows/demo.yml @@ -19,7 +19,8 @@ jobs: ls -l pwd output=$(cat output.txt) - jq -n --arg msg "\`\`\`$(cat output.txt)\n\`\`\`" '{"body": $msg}' > /tmp/git-msg + echo "\n" >> output.txt + jq -n --arg msg "\`\`\`$(cat output.txt)`\`\`" '{"body": $msg}' > /tmp/git-msg echo $output curl -X POST \ -H "Authorization: token ${GITHUB_TOKEN}" \