-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpci.yml
45 lines (41 loc) · 1.25 KB
/
phpci.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
37
38
39
40
41
42
43
44
45
build_settings:
ignore:
- "vendor"
setup:
composer:
action: "install"
deploy:
courier:
env-mapping:
"master": production
"*": development
targets:
production:
objective-php.org:
host: objective-php.org
path: /var/www/showcase
operator: automate
failure:
slack_notify:
webhook_url: "https://hooks.slack.com/services/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"
room: "#objective-php"
username: "PHPCI"
icon: ":ghost:"
message: "%PROJECT_TITLE% - build %BUILD% failed! :angry:"
show_status: true
success:
slack_notify:
webhook_url: "https://hooks.slack.com/services/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"
room: "#objective-php"
username: "PHPCI"
icon: ":ghost:"
message: "%PROJECT_TITLE% - build %BUILD% succeeded! :smiley:"
show_status: false
complete:
slack_notify:
webhook_url: "https://hooks.slack.com/services/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"
room: "#objective-php"
username: "PHPCI"
icon: ":ghost:"
message: "%PROJECT_TITLE% - build %BUILD% completed"
show_status: true