From f6f86a04e6270562685ef3e1ae8e829d6e55fe7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EB=AF=BC?= <144198706+Minn-Choi@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:08:34 +0900 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 91d99bf..7df211f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,6 +28,16 @@ jobs: runs-on: ubuntu-latest steps: + - name: Test SSH Connection + uses: appleboy/ssh-action@v0.1.3 + with: + host: ${{ secrets.EC2_HOST }} + username: ${{ secrets.EC2_USER }} + key: ${{ secrets.EC2_KEY }} + port: 22 + script: | + echo "SSH connection successful!" + - name: Deploy to EC2 uses: appleboy/ssh-action@v0.1.3 with: