forked from walmartlabs/concord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconcord.yml
36 lines (30 loc) · 804 Bytes
/
concord.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
flows:
default:
# create a new slack channel
- task: slackChannel
in:
action: create
channelName: myChannelName
apiToken: mySlackApiToken
# the channel ID is stored as `slackChannelId`
- log: "Channel ID: ${slackChannelId}"
# archive a slack channel
- task: slackChannel
in:
action: archive
channelId: ${slackChannelId}
apiToken: mySlackApiToken
# create a new slack group
- task: slackChannel
in:
action: createGroup
channelName: myGroupName
apiToken: mySlackApiToken
# the channel ID is stored as `slackChannelId`
- log: "Channel ID: ${slackChannelId}"
# archive a slack group
- task: slackChannel
in:
action: archiveGroup
channelId: ${slackChannelId}
apiToken: mySlackApiToken