From 8f7fac2ac7df5184711fd1f9ed627c79bb7c75b4 Mon Sep 17 00:00:00 2001 From: kdkdhoho Date: Tue, 28 May 2024 19:56:12 +0900 Subject: [PATCH] prod: test28 (#prod) --- .github/workflows/prod-cd.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prod-cd.yml b/.github/workflows/prod-cd.yml index 37b0bf71..ac1b870a 100644 --- a/.github/workflows/prod-cd.yml +++ b/.github/workflows/prod-cd.yml @@ -111,10 +111,11 @@ jobs: - name: 인스턴스 접속 및 배포 스크립트 실행 uses: appleboy/ssh-action@v1.0.3 with: + key: ${{ secrets.PROD_EC2_PRIVATE_KEY }} host: ${{ secrets.PROD_EC2_HOST }} username: ${{ secrets.PROD_EC2_USERNAME }} - key: ${{ secrets.PROD_EC2_PRIVATE_KEY }} port: ${{ secrets.PROD_EC2_PORT }} + timeout: 1m script: | docker stop "${{ secrets.PROD_CONTAINER_NAME }}" docker rm -f "${{ secrets.PROD_CONTAINER_NAME }}"