Skip to content

Commit

Permalink
Merge pull request #14 from byeolhaha/feat/2
Browse files Browse the repository at this point in the history
chore : 실행중인 컨테이너 종료 명령어 추가
  • Loading branch information
byeolhaha authored Jun 3, 2024
2 parents ee932fb + ec492ab commit e3de992
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ jobs:
docker build -f Dockerfile -t ${{ secrets.DOCKER_USERNAME }}/hello-counsellor .
docker push ${{ secrets.DOCKER_USERNAME }}/hello-counsellor
- name : Docker stop container
run: sudo docker stop $(sudo docker ps -q) 2>/dev/null || true

- name: Deploy to prod
uses: appleboy/ssh-action@master
id: deploy-prod
Expand Down

0 comments on commit e3de992

Please sign in to comment.