From 340a79886e11394593c31ddd9425eb5980e77d7a Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 22 Aug 2024 20:19:04 +0000 Subject: [PATCH] change env var for cd --- .github/workflows/cd-dev.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd-dev.yml b/.github/workflows/cd-dev.yml index f843290..fb5d8f8 100644 --- a/.github/workflows/cd-dev.yml +++ b/.github/workflows/cd-dev.yml @@ -13,10 +13,10 @@ jobs: - name: excuting remote ssh commands uses: appleboy/ssh-action@v0.1.6 # ssh 접속하는 오픈소스 with: - host: ${{ secrets.REMOTE_IP }} # 인스턴스 IP - username: ${{ secrets.REMOTE_USER }} # 우분투 아이디 - key: ${{ secrets.REMOTE_PRIVATE_KEY }} # ec2 instance pem key - port: ${{ secrets.REMOTE_SSH_PORT }} # 접속포트 + host: ${{ secrets.REMOTE_IP_DEV }} # 인스턴스 IP + username: ${{ secrets.REMOTE_USER_DEV }} # 우분투 아이디 + key: ${{ secrets.REMOTE_PRIVATE_KEY_DEV }} # ec2 instance pem key + port: ${{ secrets.REMOTE_SSH_PORT_DEV }} # 접속포트 script: | # 실행할 스크립트 cd /otlplus-nest-server git pull origin dev