From bb323fb0d63adabeaed8c8c1a35aeeaa20c159ec Mon Sep 17 00:00:00 2001 From: yu-heejin Date: Fri, 12 Apr 2024 15:35:38 +0900 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 8f78661..3f49322 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -65,6 +65,7 @@ jobs: key: ${{ secrets.PRIVATE_KEY }} envs: GITHUB_SHA script: | + ssh -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