Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sunwupark authored Mar 20, 2024
1 parent dc9977a commit d3f1974
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ec2-user
username: ubuntu
key: ${{ secrets.KEY }}
script: |
if [ "$(sudo docker ps -aq)" ]; then
Expand All @@ -57,7 +57,7 @@ jobs:
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ec2-user
username: ubuntu
key: ${{ secrets.KEY }}
script: |
# Docker 이미지 다운로드
Expand All @@ -69,4 +69,4 @@ jobs:
# sudo docker-compose logs -f
# 사용하지 않는 Docker 이미지 정리
sudo docker image prune -f
sudo docker image prune -f

0 comments on commit d3f1974

Please sign in to comment.