From ed346fccdb5a682fe074b128c5787ecdf2429979 Mon Sep 17 00:00:00 2001 From: jihyeon baek Date: Mon, 24 Jun 2024 17:32:19 +0900 Subject: [PATCH] =?UTF-8?q?chore:ssh=ED=82=A4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dev_deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev_deploy.yml b/.github/workflows/dev_deploy.yml index 0c6da56..9ca436b 100644 --- a/.github/workflows/dev_deploy.yml +++ b/.github/workflows/dev_deploy.yml @@ -79,8 +79,8 @@ jobs: - name: Copy deploy script file to remote uses: appleboy/scp-action@master with: - username: ec2-user host: ${{ secrets.EC2_HOST }} + username: ubuntu key: ${{ secrets.EC2_SSH_KEY }} source: ".github/scripts/deploy.sh" target: "/home/ec2-user/cicd" @@ -89,8 +89,8 @@ jobs: - name: Execute deploy script uses: appleboy/ssh-action@master with: - username: ec2-user host: ${{ secrets.EC2_HOST }} + username: ubuntu key: ${{ secrets.EC2_SSH_KEY }} script_stop: true script: |