This repository was archived by the owner on Feb 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change 11version : 2.1
22orbs :
33 k8s : circleci/kubernetes@0.7.0
4+ slack : circleci/slack@3.4.2
45commands :
56 git_checkout_from_cache :
67 description : " Git checkout and save cache"
@@ -133,15 +134,12 @@ commands:
133134 done
134135 notify_slack :
135136 description : " Notify slack"
136- parameters :
137- target :
138- type : string
139137 steps :
140138 - slack/status :
141139 include_project_field : false
142- failure_message : " << parameters.target >> release failed for webtrader with version `` $(cat www/ version)`` "
143- success_message : " << parameters.target >> release succeeded for webtrader with version $(cat www/ version)"
144- webhook : ${SLACK_WEBHOOK}
140+ failure_message : " Release failed for webtrader with version * $(cat dist/compressed/ version)* "
141+ success_message : " Release succeeded for webtrader with version * $(cat dist/compressed/ version)* "
142+ webhook : ${SLACK_WEBHOOK}
145143jobs :
146144 release_staging :
147145 docker :
@@ -152,8 +150,7 @@ jobs:
152150 - build
153151 - deploy :
154152 target_branch : " staging"
155- - notify_slack :
156- target : " Staging"
153+ - notify_slack
157154 release_production :
158155 docker :
159156 - image : circleci/node:12.13.0-stretch
@@ -163,9 +160,8 @@ jobs:
163160 - build
164161 - deploy :
165162 target_branch : " production"
166- - notify_slack :
167- target : " Production"
168- release_aws_production :
163+ - notify_slack
164+ release_aws_production :
169165 docker :
170166 - image : circleci/node:12.13.0-stretch
171167 steps :
You can’t perform that action at this time.
0 commit comments