From d3f197417187a2ae03ee1eed11d3078c2ea0601e Mon Sep 17 00:00:00 2001 From: Sunwu Park <52268188+sunwupark@users.noreply.github.com> Date: Wed, 20 Mar 2024 16:12:10 +0900 Subject: [PATCH] Update docker.yml --- .github/workflows/docker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 51ee720..af85e93 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -41,7 +41,7 @@ jobs: uses: appleboy/ssh-action@v0.1.6 with: host: ${{ secrets.HOST }} - username: ec2-user + username: ubuntu key: ${{ secrets.KEY }} script: | if [ "$(sudo docker ps -aq)" ]; then @@ -57,7 +57,7 @@ jobs: uses: appleboy/ssh-action@master with: host: ${{ secrets.HOST }} - username: ec2-user + username: ubuntu key: ${{ secrets.KEY }} script: | # Docker 이미지 다운로드 @@ -69,4 +69,4 @@ jobs: # sudo docker-compose logs -f # 사용하지 않는 Docker 이미지 정리 - sudo docker image prune -f \ No newline at end of file + sudo docker image prune -f