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 9354b14 commit cddcd49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ jobs:
port: 22
script: |
sudo docker stop $(sudo docker ps -qa)
sudo docker rm -f $(sudo docker ps -qa)
containers=$(sudo docker ps -qa)
if [ -n "$containers" ]; then
sudo docker rm -f $containers
sudo docker pull ${{ secrets.DOCKER_REPO }}
docker-compose up -d
docker image prune -f

0 comments on commit cddcd49

Please sign in to comment.