Skip to content

Commit

Permalink
fix(initialize): pull만 하도록 변경
Browse files Browse the repository at this point in the history
해당 사항 반영
  • Loading branch information
kaswhy committed Nov 13, 2024
1 parent 001c5a8 commit 6cb4fb9
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions scripts/initialize.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6cb4fb9

Please sign in to comment.