반응형
Deploy script - git clone
특정 폴더 경로 clone
타겟 경로 : git > chandler > client > patch > 20230821
mkdir chandler
cd chandler
git init
git config core.sparseCheckout true
git remote add -f origin https://out-git.chandler.com/chandler/client.git
echo "patch/20230821/*" >> .git/info/sparse-checkout
git pull origin master
clone 삭제
cd ..
rm -rf chandler
by mkdir-chandler
728x90
반응형
'Ops > Deploy' 카테고리의 다른 글
deploy script - (aws) cloudfront invalidation (cdn purge) (0) | 2023.08.27 |
---|---|
deploy script - (aws) get ec2 ip from target group (0) | 2023.08.26 |
deploy script - (aws) get ec2 ip from elbv2 (0) | 2023.08.25 |
Deploy script - service status check (bash) (0) | 2023.08.24 |