From eed908415ba45e7829c7cde4080f3f9957e92999 Mon Sep 17 00:00:00 2001 From: jinia91 Date: Thu, 16 Dec 2021 21:07:16 +0900 Subject: [PATCH] cicd --- appspec.yml | 3 ++- scripts/deploy.sh | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) 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