renderNotifyTemplate
renderNotifyTemplate(
templateName,data):string
Defined in: packages/simply-cicd-core/src/notify/renderTemplate.ts:23
Renders one of the built-in Teams notification card templates with the given data.
Parameters
Section titled “Parameters”templateName
Section titled “templateName”"build-failure-notification" | "build-package-version-notification" | "happy-soup-failure-notification" | "happy-soup-final-failure-notification" | "happy-soup-final-success-notification" | "happy-soup-starting-stage-notification" | "happy-soup-success-notification" | "project-failure-notification" | "project-success-notification"
Record<string, unknown>
Returns
Section titled “Returns”string