Adding installation script for codedeploy
This commit is contained in:
parent
ab572a9378
commit
d7c4d73ef5
2 changed files with 13 additions and 0 deletions
10
appspec.yml
Normal file
10
appspec.yml
Normal 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
3
scripts/install.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
mvn clean install
|
||||||
Loading…
Reference in a new issue