-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
53 lines (46 loc) · 1.08 KB
/
.travis.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
46
47
48
49
50
51
52
53
language: node_js
node_js:
- "9.11"
cache :
yarn: true
before_install:
- npm install -g yarn
branches:
only:
- develop
script:
- echo "skipping tests"
before_deploy:
- rm -rf node_modules
- zip -r willson-deploy ./*
- mkdir -p deploy
- mv willson-deploy.zip deploy/willson-deploy.zip
deploy:
- provider: s3
access_key_id: $AWS_ACCESS_KEY
secret_access_key: $AWS_SECRET_KEY
bucket: willson-deploy
region: ap-northeast-2
skip_cleanup: true
local_dir: deploy
wait-until-deployed: true
on:
repo: willson-appjam/willson-server
branch: develop
- provider: codedeploy
access_key_id: $AWS_ACCESS_KEY
secret_access_key: $AWS_SECRET_KEY
bucket: willson-deploy
key: willson-deploy.zip # 해당 버킷에 저장되어 있는 파일 이름
bundle_type: zip
deployment_group: willson-group
application: willson
region: ap-northeast-2
wait-until-deployed: true
on:
repo: willson-appjam/willson-server
branch: develop
notifications:
email:
recipients: