mirror of https://github.com/coder/code-server.git
Use conditional instead of inline if
This commit is contained in:
parent
6f08b13540
commit
53818b0e36
|
@ -67,10 +67,11 @@ deploy:
|
||||||
|
|
||||||
- provider: script
|
- provider: script
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
script: if [[ -n "$DOCKER_BUILD" ]] ; then docker push codercom/code-server:"$VERSION" && docker push codercom/code-server:v2 ; fi
|
script: docker push codercom/code-server:"$VERSION" ; docker push codercom/code-server:v2
|
||||||
on:
|
on:
|
||||||
repo: cdr/code-server
|
repo: cdr/code-server
|
||||||
branch: master
|
branch: master
|
||||||
|
condition: -n "$DOCKER_BUILD"
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
yarn: true
|
yarn: true
|
||||||
|
|
Loading…
Reference in New Issue