This commit is contained in:
1 parent
d94a070824
commit
4ea256b964
2 files changed
+2
-2
No files matched your search
@@ -33,7 +33,7 @@ jobs:
|
|||||||
username: ${{ secrets.SERVER_USERNAME }}
|
username: ${{ secrets.SERVER_USERNAME }}
|
||||||
password: ${{ secrets.SERVER_PASSWORD }}
|
password: ${{ secrets.SERVER_PASSWORD }}
|
||||||
script: |
|
script: |
|
||||||
if docker ps -a --format '{{.Names}}' | grep -q rokoh; then
|
if docker ps -a --format '{{.Names}}' | grep -q plushealthtech; then
|
||||||
docker stop plushealthtech || true
|
docker stop plushealthtech || true
|
||||||
docker rm plushealthtech || true
|
docker rm plushealthtech || true
|
||||||
docker image rm plushealthtech:latest
|
docker image rm plushealthtech:latest
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
username: ${{ secrets.SERVER_USERNAME }}
|
username: ${{ secrets.SERVER_USERNAME }}
|
||||||
password: ${{ secrets.SERVER_PASSWORD }}
|
password: ${{ secrets.SERVER_PASSWORD }}
|
||||||
script: |
|
script: |
|
||||||
if docker ps -a --format '{{.Names}}' | grep -q rokoh; then
|
if docker ps -a --format '{{.Names}}' | grep -q plushealthtech; then
|
||||||
docker stop plushealthtech || true
|
docker stop plushealthtech || true
|
||||||
docker rm plushealthtech || true
|
docker rm plushealthtech || true
|
||||||
docker image rm plushealthtech:latest
|
docker image rm plushealthtech:latest
|
||||||
|
|||||||
Reference in new issue
Block a user