Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
WinningBean committed Apr 2, 2020
1 parent bb6fc37 commit 5bb64dd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cache:
script: "./gradlew clean build"

before_deploy:
- zip -r recordary_pc
- zip -r recordary_pc *
- mkdir -p deploy
- mv recordary_pc.zip deploy/recordary_pc.zip

Expand All @@ -34,6 +34,9 @@ deploy:
acl: private # zip 파일 접근을 private로
local_dir: deploy # before_deploy에서 생성한 디렉토리
wait-until-deployed: true
on:
repo: wsb0722/recordary_pc
branch: master

- provider: codedeploy
access_key_id: $AWS_ACCESS_KEY # Travis repo settings에 설정된 값
Expand All @@ -45,6 +48,9 @@ deploy:
deployment_group: recordary-springboot-webservice-group # 웹 콘솔에서 등록한 CodeDeploy 배포 그룹
region: ap-northeast-2
wait-until-deployed: true
on:
repo: wsb0722/recordary_pc
branch: master

# CI 실행 완료 시 메일로 알람
notifications:
Expand Down

0 comments on commit 5bb64dd

Please sign in to comment.