Skip to content

Commit

Permalink
fix: ec2 ssh 접근 방식 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin0o0 committed Nov 5, 2023
1 parent 51765c6 commit fd977d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ jobs:
docker buildx build -t chy0310/khumon:latest . --push
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@master
uses: appleboy/ssh-action@v0.1.4
with:
host: ${{ secrets.EC2_HOST }}
username: ubuntu
key: ${{ secrets.EC2_SECRET }}
password: ${{ secrets.EC2_SECRET }}
script: |
sh ~/deploy.sh
sudo docker stop $(sudo docker ps -a -q)
Expand Down

0 comments on commit fd977d7

Please sign in to comment.