Skip to content

Commit

Permalink
fix for multi thingies
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticroentgen committed May 13, 2024
1 parent 3da5457 commit 5a64de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ static async Task HandleUpdateAsync(ITelegramBotClient botClient, Update update,
(bool triggerSuccess, List<string> dockerImages, string runUrl) = await TriggerGitHubWorkflow(_gitHubToken, repo, branch);
if (triggerSuccess)
{
await SendResponse($"Your build was triggered\\. [View run on GitHub]({runUrl})\nDocker Image\\(s\\) once run completed:\n{dockerImages.Select(x => $"`{x}`\n")}");
await SendResponse($"Your build was triggered\\. [View run on GitHub]({runUrl})\nDocker Image\\(s\\) once run completed:\n{string.Join('\n', dockerImages.Select(x => $"`{x}`"))}");
Console.WriteLine($"Build triggered for {repo}/{branch} [Run URL: {runUrl} | DockerImage: {String.Join(':',dockerImages)}]");
}
else
Expand Down

0 comments on commit 5a64de5

Please sign in to comment.