diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index f44b363..3bbeab8 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -246,10 +246,8 @@ jobs: else MSG="❌ Sestavení #${RUN_NUMBER} selhalo." fi - FULL_MSG="${MSG} - -Pipeline: ${RUN_URL} -Poslední commit: ${COMMIT_MESSAGE}Autor: ${COMMIT_AUTHOR}" + FULL_MSG="$(printf '%s\n\nPipeline: %s\nPoslední commit: %sAutor: %s' \ + "$MSG" "$RUN_URL" "$COMMIT_MESSAGE" "$COMMIT_AUTHOR")" curl -s -X POST \ "https://discord.com/api/webhooks/${DISCORD_WEBHOOK_ID}/${DISCORD_WEBHOOK_TOKEN}" \ -H "Content-Type: application/json" \