From ee16b5cd794af1b78441b8a32dc5bdff5b2edc70 Mon Sep 17 00:00:00 2001 From: yu-heejin Date: Fri, 12 Apr 2024 15:59:39 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20ssh=20=EC=98=B5=EC=85=98=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index f7c0802..826928a 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -65,7 +65,7 @@ jobs: key: ${{ secrets.PRIVATE_KEY }} envs: GITHUB_SHA script: | - ssh -t -i "${{ secrets.PEM_NAME }}" ${{ secrets.WAS_HOST }}@${{ secrets.WAS_IP }} + ssh -tt -i "${{ secrets.PEM_NAME }}" ${{ secrets.WAS_HOST }}@${{ secrets.WAS_IP }} sudo docker ps sudo docker pull ${{ secrets.DOCKER_USERNAME }}/docker-team-b-prod sudo docker run -d -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}/docker-team-b-prod