CI: fix message empty

This commit is contained in:
marchingon12
2021-04-07 21:40:11 +02:00
parent 899f627396
commit 12e282a819

View File

@@ -25,10 +25,10 @@ assembleDebug:
stage: build
script:
- ./gradlew assembleDebug
- 'curl -s -X POST ${MSG_URL} -d chat_id=${TELEGRAM_CHAT_ID} \
-d "disable_web_page_preview=true" \
-d "parse_mode=html" \
-d text="Project: ${CI_PROJECT_NAME}\n<a href="${CI_PIPELINE_URL}"><b>⚒️ Building</b></a> with HEAD at <a href="${COMMIT_URL}"><b>${CI_COMMIT_SHORT_SHA}</b></a> by ${CI_COMMIT_AUTHOR}\nBranch: ${CI_COMMIT_BRANCH}"'
- 'curl -s -X POST ${MSG_URL} -d chat_id=${TELEGRAM_CHAT_ID}
-d "disable_web_page_preview=true"
-d "parse_mode=html"
-d text=Project: ${CI_PROJECT_NAME}\n<a href="${CI_PIPELINE_URL}"><b>⚒️ Building</b></a> with HEAD at <a href="${COMMIT_URL}"><b>${CI_COMMIT_SHORT_SHA}</b></a> by ${CI_COMMIT_AUTHOR}\nBranch: ${CI_COMMIT_BRANCH}'
artifacts:
paths:
- app/build/outputs/