Skip to content

Commit

Permalink
[Setting] 깃헙 액션 파일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jinkonu authored May 17, 2024
1 parent 68105e4 commit 14a0a58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
key: ${{ secrets.PEM_KEY }}
envs: GITHUB_SHA
script: |
sudo docker ps
sudo docker ps -q --filter ancestor=${{ secrets.DOCKERHUB_USERNAME }}/planfit | xargs -r sudo docker stop | xargs -r sudo docker rm
sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/planfit
sudo docker run -d -p 8081:8081 ${{ secrets.DOCKERHUB_USERNAME }}/planfit
sudo docker run -d --name planfit_container -p 8081:8081 ${{ secrets.DOCKERHUB_USERNAME }}/planfit
sudo docker image prune -f

0 comments on commit 14a0a58

Please sign in to comment.