-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathshippable.yml
More file actions
28 lines (20 loc) · 858 Bytes
/
shippable.yml
File metadata and controls
28 lines (20 loc) · 858 Bytes
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
language: node_js
node_js:
- 5.4.0
cache: false
env:
global:
- SLACK_ORG=Ottemo PROJECT=Demo
- secure: djBGeqERLMYTEeyc3O4Mk5j2RbwlmnobS1Ybr8IhjZv9cHOUxqD8zQwu2/e/fF70aq0AeO2b56U+11eqpds6sUydD3EONlTIMGQtW4P+INEuXVqqwKt8w4xyBt0XJKgd5U1sn/6RW23fi2phNetTvKz7U6V2mt/xFHJm6INerxIqN7cGLcUOmTz6zULdQX8+vYHSiKghK6UNxMbR94oPe0/qb35XrQJTM3wOrado9wUmw4QShUlKgUhUDVaQIIAD87uPpTrFAeA3Ecp2LD+aHrSDU+Ma/GdBEMhs/kOuv5NQOrHzZFVFcXKvGLaGKP9uOs0nVrraT96GRtyuyC7zLQ==
install:
# only build/deploy the develop branch
branch:
only:
- develop
after_failure:
- python slack_notifier.py --org $SLACK_ORG --project $PROJECT --token $SLACK_TOKEN
after_success:
- REMOTE_HOST=demo.staging.ottemo.io bash deploy.sh
- python slack_notifier.py --org $SLACK_ORG --project $PROJECT --token $SLACK_TOKEN -s
notifications:
email: false