Skip to content

Commit

Permalink
Update xxc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MaKrotos authored Aug 30, 2024
1 parent 113c76a commit b11e342
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/xxc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ jobs:
$telegramBotToken = '${{ secrets.TELEGRAM_BOT_TOKEN }}'
$telegramChatId = '${{ secrets.TELEGRAM_CHAT_ID }}'
$releaseUrl = 'https://github.com/${{ github.repository }}/releases/tag/${{ steps.get_version.outputs.VERSION }}'
$message = "🎉 *Новый релиз:* ${{ github.event.inputs.namevers }}\n📦 *Версия:* ${{ steps.get_version.outputs.VERSION }}\n📝 *Описание:* ${{ github.event.inputs.descr }}\n🔧 *Solution Name:* ${{ env.Solution_Name }}\n🔗 Ссылка на релиз: $releaseUrl"
$message = $message -replace '\.', '\\.'
$message = $message -replace '\-', '\\-'
$message = $message -replace '\_', '\\_'
$message = $message -replace '\*', '\\*'
$message = "🎉 *Новый релиз:* ${{ github.event.inputs.namevers }}\\n📦 *Версия:* ${{ steps.get_version.outputs.VERSION }}\\n📝 *Описание:* ${{ github.event.inputs.descr }}\\n🔧 *Solution Name:* ${{ env.Solution_Name }}\\n🔗 Ссылка на релиз: $releaseUrl"
$uri = 'https://api.telegram.org/bot' + $telegramBotToken + '/sendMessage'
$body = @{
chat_id = $telegramChatId
Expand Down

0 comments on commit b11e342

Please sign in to comment.