Adding installation script for codedeploy

This commit is contained in:
jushkem 2020-03-02 09:09:38 -08:00
parent ab572a9378
commit d7c4d73ef5
2 changed files with 13 additions and 0 deletions

10
appspec.yml Normal file
View file

@ -0,0 +1,10 @@
version: 0.0
os: linux
files:
- source: /quickdeal.zip
destination: /home/ubuntu/quickdeal/
hooks:
AfterInstall:
- location: scripts/install.sh
timeout: 600
runas: ec2-user

3
scripts/install.sh Normal file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
mvn clean install