-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SSH 접속은 잘 되는지에 대한 테스트 추가
- Loading branch information
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|