fix: deploy when container is not running
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d1487ffb1e
commit
fab5677b8f
@ -20,7 +20,7 @@ steps:
|
|||||||
command_timeout: 2m
|
command_timeout: 2m
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
if docker ps -f name=thief_music | grep -q thief_music; then
|
if docker container ls -a -f name=thief_music | grep -q thief_music; then
|
||||||
docker stop thief_music
|
docker stop thief_music
|
||||||
docker rm thief_music
|
docker rm thief_music
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user