Skip to content

Commit

Permalink
[CICD] -t 옵션을 -T 옵션으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
EunbeenDev committed Jan 8, 2025
1 parent 5551ca9 commit c1394ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
# EC2에서 컨테이너 실행
- name: Deploy Docker container on EC2
run: |
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'
sudo docker pull $(aws ecr describe-repositories --repository-names ${{ env.ECR_REPOSITORY }} --query "repositories[0].repositoryUri" --output text):${{ github.sha }}
sudo docker stop ${{ env.DOCKER_IMAGE_NAME }} || true
sudo docker rm ${{ env.DOCKER_IMAGE_NAME }} || true
Expand Down

0 comments on commit c1394ce

Please sign in to comment.