From 6cb4fb93268604358fdc0d50b541ca89a384baa6 Mon Sep 17 00:00:00 2001 From: kaswhy Date: Thu, 14 Nov 2024 02:46:39 +0900 Subject: [PATCH] =?UTF-8?q?fix(initialize):=20pull=EB=A7=8C=20=ED=95=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 해당 사항 반영 --- scripts/initialize.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/initialize.sh b/scripts/initialize.sh index 9a6487e..2b37608 100644 --- a/scripts/initialize.sh +++ b/scripts/initialize.sh @@ -1,11 +1,2 @@ -# Parameter Store에서 GitHub 자격 증명을 가져오기 -GH_USERNAME=$(aws ssm get-parameter --name "/github/username" --query "Parameter.Value" --output text | jq -sRr @uri) -GH_PAT=$(aws ssm get-parameter --name "/github/token" --query "Parameter.Value" --output text | jq -sRr @uri) - -# GitHub 자격 증명 파일 설정 -echo "https://${GH_USERNAME}:${GH_PAT}@github.com" > ~/.git-credentials -git config --global credential.helper store - - cd /home/ubuntu/Server git pull origin master \ No newline at end of file