-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from SWM-Morandi/hotfix-CICD-ssh-변경
hotfix CICD ssh 변경
- Loading branch information
Showing
1 changed file
with
3 additions
and
5 deletions.
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 |
---|---|---|
|
@@ -29,12 +29,10 @@ jobs: | |
- name: SSH into AWS EC2 instance | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: 10.0.128.33 | ||
host: 3.35.14.92 | ||
username: ubuntu | ||
key: ${{ secrets.AWS_SSH_PRIVATE_KEY }} | ||
proxy_host: 3.35.14.92 | ||
proxy_username: ubuntu | ||
|
||
# 아래 내용을 실행하여 Docker 이미지를 내려받고 실행 | ||
script: | | ||
./deploy-frontend.sh | ||
ssh -o StrictHostKeyChecking=no [email protected] 'bash /home/ubuntu/deploy-frontend.sh' | ||