Skip to content

Commit

Permalink
chore: deploy 파일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sejineer committed May 27, 2024
1 parent d3070f3 commit afa4e1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ jobs:
port: 22
key: ${{ secrets.PRIVATE_KEY }}
script: |
ssh sudo docker rm -f $(ssh sudo docker ps -qa)
ssh sudo docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO_PROD }}
ssh sudo docker run -dp 80:8080 ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO_PROD }}
sudo docker rm -f $(ssh sudo docker ps -qa)
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO_PROD }}
sudo docker run -dp 80:8080 ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO_PROD }}

0 comments on commit afa4e1d

Please sign in to comment.