Notifications
These GitHub Actions includes the following functionalities to send notifications when a build or deployment is triggered or completed in SAP Commerce Cloud in the Public Cloud (CCv2) projects.
Webhooks
Microsoft Teams
To send notifications to Microsoft Teams, you need to configure the webhook URL in the GitHub repository secrets. Define the environment variable in the workflow file to use the webhook URL.
And also while using build or deploy action, you can pass the notify input parameter as true to send notifications to Microsoft Teams.
Sample Notifications
Build Action
Build Triggered
Build Successful
Build Failed
Deploy Action
Deployment Started
Deployment Successful
Deployment Failed
Slack
To send notifications to Slack, you need to configure the webhook URL in the GitHub repository secrets. You need to pass the webhook URL as an environment variable in the workflow file.
Also, while using build or deploy action, you can pass the notify input parameter as true to send notifications to Slack.