Netlify build notification

Do you want to use Netlify build notifications?

Template
Netlify - {{.name}}/{{.state}} in {{.deploy_time}}s

---

Deploy URL: {{.ssl_url}}
{{ if .deploy_time }}Completed in {{.deploy_time}}s{{end}}

{{ range $message := .summary.messages -}}
* {{ $message.title }}: {{ $message.description }}
{{ end }}

{{- if .screenshot_url }}
Screenshot: {{.screenshot_url}}
{{- end}}

Admin URL: {{.admin_url}}
Rendered
Netlify - example123/ready in 9s

---

Deploy URL: https://example123.net
Completed in 9s

* 7 new files uploaded: 7 generated pages changed: All files already uploaded.
* 1 redirect rule processed: All redirect rules deployed without errors.

Admin URL: https://app.netlify.com/sites/example123
Payload
{
  "admin_url": "https://app.netlify.com/sites/example123",
  "deploy_time": 9,
  "name": "example123",
  "screenshot_url": null,
  "state": "ready",
  "ssl_url": "https://example123.net",
  "summary": {
    "messages": [
      {
        "description": "All files already uploaded.",
        "title": "7 new files uploaded: 7 generated pages changed",
        "...": "..."
      },
      {
        "description": "All redirect rules deployed without errors.",
        "title": "1 redirect rule processed",
        "...": "..."
      }
    ]
  },
  "...": "..."
}

How to set up a new alert?

  1. Open the Domain Settings" page of your website

  2. Navigate to the "Build & deploy -> Deploy notifications" section

  3. Create a new "Outgoing webhook"

  4. Setup the webhook

  5. Choose your webhook event type and use the desired Notify17 notification template hook (e.g. https://hook.notify17.net/api/template/TEMPLATE_API_KEY)