Notifications
Vortex provides a flexible notification system that sends updates across multiple channels when deployments occur.
Notifications are triggered automatically during deployment to a hosting environment.
Channels
Configure notification channels in your .env file:
# Enable notification channels (comma-separated list)
VORTEX_NOTIFY_CHANNELS=email,slack,github
Available channels: diffy, email, github, jira, newrelic, slack, webhook
Global environment variables
These variables apply to all notification channels unless overridden by channel-specific settings.
| Variable | Required | Default | Location | Description |
|---|---|---|---|---|
VORTEX_NOTIFY_CHANNELS | No | email | .env | Notification channels (comma-separated) |
VORTEX_NOTIFY_PROJECT | No | VORTEX_PROJECT | .env | Notification project name |
VORTEX_NOTIFY_SKIP | No | Hosting | Set to 1 to skip notifications |
Deployment context variables
These variables provide deployment context information used by notification channels. They must be set by the hosting environment before calling the notification script.
| Variable | Required | Description |
|---|---|---|
VORTEX_NOTIFY_BRANCH | Yes | Git branch name |
VORTEX_NOTIFY_SHA | Yes | Git commit SHA |
VORTEX_NOTIFY_PR_NUMBER | No | Pull request number (empty for branch deployments) |
VORTEX_NOTIFY_LABEL | Yes | Human-readable deployment label |
Branch filtering
Each notification channel can be restricted to specific branches using
a VORTEX_NOTIFY_<CHANNEL>_BRANCHES variable. When set, the channel
only sends notifications for deployments on the listed branches
(comma-separated, exact match). When empty or unset, the channel runs
on all branches.
For example, to restrict New Relic notifications to only main and staging:
VORTEX_NOTIFY_NEWRELIC_BRANCHES=main,staging
New Relic defaults to main,master,develop. All other channels default to no filter.