Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Minn-Choi authored Nov 4, 2024
1 parent f397413 commit f6f86a0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Test SSH Connection
uses: appleboy/[email protected]
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/[email protected]
with:
Expand Down

0 comments on commit f6f86a0

Please sign in to comment.