diff --git a/appspec.yml b/appspec.yml index 7f557ab..9272a65 100644 --- a/appspec.yml +++ b/appspec.yml @@ -13,6 +13,7 @@ permissions: hooks: ApplicationStart: + - chmod +x deploy.sh - location: deploy.sh - timeout: 60 + timeout: 120 runas: ec2-user \ No newline at end of file diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 3ac6d5e..7b6ed1e 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,6 +1,5 @@ #!/bin/bash - REPOSITORY=/home/ec2-user/app/step2 PROJECT_NAME=springboot-blog