Skip to content

Commit c1394ce

Browse files
committed
[CICD] -t 옵션을 -T 옵션으로 변경
1 parent 5551ca9 commit c1394ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
# EC2에서 컨테이너 실행
106106
- name: Deploy Docker container on EC2
107107
run: |
108-
ssh -o StrictHostKeyChecking=no -t -i ~/.ssh/id_rsa ec2-user@${{ secrets.EC2_PUBLIC_IP }} << 'EOF'
108+
ssh -o StrictHostKeyChecking=no -T -i ~/.ssh/id_rsa ec2-user@${{ secrets.EC2_PUBLIC_IP }} << 'EOF'
109109
sudo docker pull $(aws ecr describe-repositories --repository-names ${{ env.ECR_REPOSITORY }} --query "repositories[0].repositoryUri" --output text):${{ github.sha }}
110110
sudo docker stop ${{ env.DOCKER_IMAGE_NAME }} || true
111111
sudo docker rm ${{ env.DOCKER_IMAGE_NAME }} || true

0 commit comments

Comments
 (0)