Skip to content

Commit

Permalink
test(actions): add connection test
Browse files Browse the repository at this point in the history
SSH 접속은 잘 되는지에 대한 테스트 추가
  • Loading branch information
hepheir authored Nov 8, 2023
1 parent 74bc8f8 commit 8006a17
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,19 @@ jobs:
uses: actions/checkout@v3

#------------------- EC2 --------------------

- name: AWS EC2 Connection Test
uses: appleboy/[email protected]
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USERNAME }}
password: ${{ secrets.EC2_PASSWORD }}
port: ${{ secrets.EC2_SSH_PORT }}
timeout: 60s
script: echo "Connection Test"

# AWS EC2 Server Connect & Docker 명령어 실행
- name: AWS EC2 Connection
- name: AWS EC2 Run Scripts
uses: appleboy/[email protected]
with:
host: ${{ secrets.EC2_HOST }}
Expand Down

0 comments on commit 8006a17

Please sign in to comment.