Skip to content

Commit

Permalink
fix: 실행 스크립트 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-heejin authored Apr 12, 2024
1 parent bb323fb commit 8f915d5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,4 @@ jobs:
key: ${{ secrets.PRIVATE_KEY }}
envs: GITHUB_SHA
script: |
ssh -i "${{ secrets.PEM_NAME }}" ${{ secrets.WAS_HOST }}@${{ secrets.WAS_IP }}
sudo docker ps
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/docker-team-b-prod
sudo docker run -d -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}/docker-team-b-prod
sudo docker image prune -f
./deploy.sh

0 comments on commit 8f915d5

Please sign in to comment.