You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sends an initial deployment started and a deployment successful message to a Slack channel when [Trellis](https://github.com/roots/trellis) deploys [Bedrock](https://github.com/roots/bedrock).
8
7
9
8
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
10
-
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
11
-
9
+
<!-- DON"T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
12
10
13
11
-[Requirements](#requirements)
14
12
-[Screenshots](#screenshots)
@@ -34,11 +32,13 @@ Sends an initial deployment started and a deployment successful message to a Sla
- name: Send initial deployment notification to Slack
3
3
slack:
4
-
token: "{{ slack_webhook_token }}"
5
-
channel: slack_webhook_channel
4
+
token: "{{ item.token }}"
5
+
channel: "{{ item.channel }}"
6
6
attachments:
7
7
- text: "*{{ lookup('pipe', 'git config user.name') }}* has started deploying {{ site }} to *<https://{{ project.site_hosts | map(attribute='canonical') | first }}|{{ env }}>*"
8
8
color: warning
9
-
when: slack_webhook_token is defined and slack_webhook_token != ""
0 commit comments