From 9b7682fe35a5d9fedd37b56c42977f0f3880180e Mon Sep 17 00:00:00 2001 From: kdkdhoho Date: Tue, 28 May 2024 20:22:21 +0900 Subject: [PATCH] prod: test32 (#prod) --- .github/workflows/prod-cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prod-cd.yml b/.github/workflows/prod-cd.yml index 7f6adfdd..ebd7e62f 100644 --- a/.github/workflows/prod-cd.yml +++ b/.github/workflows/prod-cd.yml @@ -109,12 +109,12 @@ jobs: run: docker push ${{ secrets.DOCKER_HUB_USERNAME }}/${{ secrets.IMAGE_NAME }}:${{ secrets.PROD_TAG }} - name: 인스턴스 접속 및 배포 스크립트 실행 - uses: appleboy/ssh-action@master + uses: appleboy/ssh-action@v0.0 with: host: ${{ secrets.PROD_EC2_HOST }} + port: 22 username: ${{ secrets.PROD_EC2_USERNAME }} key: ${{ secrets.PROD_EC2_PRIVATE_KEY }} - port: ${{ secrets.PROD_EC2_PORT }} script_stop: true script: | docker stop "${{ secrets.PROD_CONTAINER_NAME }}"