Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
junseokkim authored Nov 23, 2023
1 parent cddcd49 commit 95ff6fe
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ jobs:
key: ${{ secrets.KEY }}
port: 22
script: |
sudo docker stop $(sudo docker ps -qa)
containers=$(sudo docker ps -qa)
if [ -n "$containers" ]; then
sudo docker rm -f $containers
sudo docker-compose down
sudo docker pull ${{ secrets.DOCKER_REPO }}
docker-compose up -d
docker image prune -f
sudo docker-compose up -d
sudo docker image prune -f

0 comments on commit 95ff6fe

Please sign in to comment.