From 99260a325024f6cbe3f1bc1ccbe30cbe9e4da7fd Mon Sep 17 00:00:00 2001 From: Batmanisko Date: Wed, 29 Apr 2026 19:34:25 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20oprava=20YAML=20chyby=20v=20discord-noti?= =?UTF-8?q?fy=20kroku=20(v=C3=ADce=C5=99=C3=A1dkov=C3=BD=20string)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- .gitea/workflows/ci.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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" \