From c161dc484c451b7c20c7eeccd10b2873875f0f45 Mon Sep 17 00:00:00 2001 From: hyeseon han Date: Sat, 17 Feb 2024 17:31:54 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20deploy.sh=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- appspec.yml | 5 +++++ deploy.sh | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 deploy.sh diff --git a/appspec.yml b/appspec.yml index 5fd0524..9806515 100644 --- a/appspec.yml +++ b/appspec.yml @@ -10,3 +10,8 @@ permissions: owner: ubuntu group: ubuntu mode: 755 +hooks: + AfterInstall: + - location: deploy.sh + timeout: 60 + runas: root \ No newline at end of file diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..d32d6b8 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +echo "> FE 배포" + +nohup yarn start & +