From dcb7e0011d995aa2c80890d3bf2348e4bea31954 Mon Sep 17 00:00:00 2001 From: persi Date: Tue, 1 Jul 2025 06:44:16 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20appleboy=20=EC=82=AC=EC=9A=A9=20?= =?UTF-8?q?=EC=8B=9C=20=EB=82=A8=EC=9D=84=20=EC=88=98=20=EC=9E=88=EB=8A=94?= =?UTF-8?q?=20Drone=20SSH=20=EC=9E=84=EC=8B=9C=20=ED=99=98=EA=B2=BD?= =?UTF-8?q?=EB=B3=80=EC=88=98=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ebbac69..7e6e022 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,7 +2,7 @@ name: Deploy User Server To EC2 on: pull_request: - types: [closed] + types: [ closed ] workflow_dispatch: # (2).수동 실행도 가능하도록 jobs: @@ -55,5 +55,6 @@ jobs: script_stop: true script: | echo '${{ secrets.ENV }}' > /home/ubuntu/.env.user + sed -i '/DRONE_SSH_PREV_COMMAND_EXIT_CODE/d' .env.user chmod +x /home/ubuntu/deploy.sh /home/ubuntu/deploy.sh \ No newline at end of file