-
Notifications
You must be signed in to change notification settings - Fork 8
Notifications
Astrid Avalin Soerensen edited this page May 9, 2025
·
3 revisions
The Unity CI/CD Templates support optional notifications to Slack and Discord using webhooks.
When configured, the pipeline sends detailed messages after each run to keep your team informed.
Hereโs an example of a Slack notification showing:
- โ Release succeeded
- โ Deploy failed on a specific target
- Commit info, release link, and pipeline link
- A per-target deployment summary table

The notification includes:
- Tests status โ failure notification on release and RC builds
- Release status โ success, failure, or partial (release ok but deploy failed)
-
Deploy target summary โ table showing each target (e.g.,
gh-pages,itch.io) with โ or โ - Commit + branch details โ commit hash, branch, and version
- Quick links โ to the GitHub Release page and the pipeline run
| Platform | Status | Setup Requirement |
|---|---|---|
| Slack | โ Supported | Add SLACK_WEBHOOK secret |
| Discord | โ Supported | Add DISCORD_WEBHOOK secret |
| Microsoft Teams | โ Planned | Not yet implemented (see roadmap) |
-
Create a webhook
- For Slack โ use an Incoming Webhook URL
- For Discord โ create a webhook in your Discord server
-
Add the secret to your GitHub repo
-
SLACK_WEBHOOKโ for Slack -
DISCORD_WEBHOOKโ for Discord
-
-
Thatโs it!
If the secrets exist, the pipeline will automatically send notifications after release and deployment.
Want to customize the message formatting?
- Slack messages โ use colored attachments (
good,danger, or neutral) - Discord messages โ simple markdown text
Advanced users can modify:
.github/actions/generate-notification- Workflow files in
.github/workflows/step-5-notify.yml
We welcome PRs to improve or extend platform support!
- Microsoft Teams integration
- Email notifications (optional)
Check the Roadmap or open a Discussion if you want to contribute!
Letโs build better Unity pipelines together! ๐
Need help? Join the Discussions or open an Issue.