From 7c39878ce50a9de28b4aeac834d79529dbf3c0a2 Mon Sep 17 00:00:00 2001 From: beming-dev Date: Sat, 11 Jan 2025 18:54:06 +0900 Subject: [PATCH] Update sudo --- scripts/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 97548d08..fd2c389d 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -3,7 +3,7 @@ set -e # 스크립트가 오류 발생 시 즉시 종료 sudo chmod -R 775 /home/ubuntu/frontend -cd /home/ubuntu/frontend +sudo cd /home/ubuntu/frontend # ECR 로그인 aws ecr get-login-password --region ap-northeast-2 | docker login --username AWS --password-stdin 294951093594.dkr.ecr.ap-northeast-2.amazonaws.com/frontend