We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5551ca9 commit c1394ceCopy full SHA for c1394ce
.github/workflows/deploy.yml
@@ -105,7 +105,7 @@ jobs:
105
# EC2에서 컨테이너 실행
106
- name: Deploy Docker container on EC2
107
run: |
108
- ssh -o StrictHostKeyChecking=no -t -i ~/.ssh/id_rsa ec2-user@${{ secrets.EC2_PUBLIC_IP }} << 'EOF'
+ ssh -o StrictHostKeyChecking=no -T -i ~/.ssh/id_rsa ec2-user@${{ secrets.EC2_PUBLIC_IP }} << 'EOF'
109
sudo docker pull $(aws ecr describe-repositories --repository-names ${{ env.ECR_REPOSITORY }} --query "repositories[0].repositoryUri" --output text):${{ github.sha }}
110
sudo docker stop ${{ env.DOCKER_IMAGE_NAME }} || true
111
sudo docker rm ${{ env.DOCKER_IMAGE_NAME }} || true
0 commit comments