File tree Expand file tree Collapse file tree 3 files changed +636
-617
lines changed
Expand file tree Collapse file tree 3 files changed +636
-617
lines changed Original file line number Diff line number Diff line change @@ -13,63 +13,62 @@ commands:
1313 event : fail
1414 custom : |
1515 {
16- "blocks": [
17- {
18- "type": "section",
19- "fields": [
20- {
21- "type": "mrkdwn",
22- "text": ":red_circle: *$CIRCLE_PROJECT_REPONAME*:*$CIRCLE_TAG* build failed"
23- }
24- ]
25- },
26- {
27- "type": "actions",
28- "elements": [
29- {
30- "type": "button",
31- "text": {
32- "type": "plain_text",
33- "text": "View Job"
34- },
35- "url": "${CIRCLE_BUILD_URL}"
36- }
37- ]
38- }
39- ]
16+ "blocks": [
17+ {
18+ "type": "section",
19+ "fields": [
20+ {
21+ "type": "mrkdwn",
22+ "text": ":red_circle: *$CIRCLE_PROJECT_REPONAME*:*$CIRCLE_TAG* build failed"
23+ }
24+ ]
25+ },
26+ {
27+ "type": "actions",
28+ "elements": [
29+ {
30+ "type": "button",
31+ "text": {
32+ "type": "plain_text",
33+ "text": "View Job"
34+ },
35+ "url": "${CIRCLE_BUILD_URL}"
36+ }
37+ ]
38+ }
39+ ]
4040 }
4141 notify_on_pass :
4242 steps :
4343 - slack/notify :
4444 event : pass
4545 custom : |
4646 {
47- "blocks": [
48- {
49- "type": "section",
50- "fields": [
51- {
52- "type": "mrkdwn",
53- "text": ":tada: *$CIRCLE_PROJECT_REPONAME*:*$CIRCLE_TAG* was successfully built and published"
54- }
55- ]
56- },
57- {
58- "type": "actions",
59- "elements": [
60- {
61- "type": "button",
62- "text": {
63- "type": "plain_text",
64- "text": "View Job"
65- },
66- "url": "${CIRCLE_BUILD_URL}"
67- }
68- ]
69- }
70- ]
47+ "blocks": [
48+ {
49+ "type": "section",
50+ "fields": [
51+ {
52+ "type": "mrkdwn",
53+ "text": ":tada: *$CIRCLE_PROJECT_REPONAME*:*$CIRCLE_TAG* was successfully built and published"
54+ }
55+ ]
56+ },
57+ {
58+ "type": "actions",
59+ "elements": [
60+ {
61+ "type": "button",
62+ "text": {
63+ "type": "plain_text",
64+ "text": "View Job"
65+ },
66+ "url": "${CIRCLE_BUILD_URL}"
67+ }
68+ ]
69+ }
70+ ]
7171 }
72-
7372jobs :
7473 test :
7574 docker : # run the steps with Docker
@@ -121,4 +120,4 @@ workflows:
121120 branches :
122121 ignore : /.*/
123122 tags :
124- only : /^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$/
123+ only : /^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$/
You can’t perform that action at this time.
0 commit comments