forked from Mirrors/keyoxide-web
Prevent build crashing due to non-existing container
This commit is contained in:
parent
a8e373d12c
commit
14581cf642
1 changed files with 1 additions and 2 deletions
|
@ -49,8 +49,7 @@ steps:
|
||||||
- docker pull keyoxide/keyoxide:dev
|
- docker pull keyoxide/keyoxide:dev
|
||||||
- name: stop and remove existing docker container
|
- name: stop and remove existing docker container
|
||||||
commands:
|
commands:
|
||||||
- docker stop keyoxide-web
|
- docker stop keyoxide-web || true && docker rm keyoxide-web || true
|
||||||
- docker rm keyoxide-web
|
|
||||||
- name: run new docker container
|
- name: run new docker container
|
||||||
environment:
|
environment:
|
||||||
TWITTER_API_AUTH:
|
TWITTER_API_AUTH:
|
||||||
|
|
Loading…
Reference in a new issue