mod drone
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
fcf92716b6
commit
5f4f252fa8
28
.drone.yml
28
.drone.yml
|
@ -40,13 +40,29 @@ steps:
|
||||||
- cat $HOME/.ssh/known_hosts
|
- cat $HOME/.ssh/known_hosts
|
||||||
- chmod 600 $HOME/.ssh/id_rsa
|
- chmod 600 $HOME/.ssh/id_rsa
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
- name: test
|
|
||||||
image: docker:dind
|
|
||||||
commands:
|
|
||||||
- docker build -t scoutrobot .
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- dev
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
- name: composer
|
||||||
|
image: composer:2.2.7
|
||||||
|
commands:
|
||||||
|
- composer install --ignore-platform-reqs --no-dev
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- dev
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
|
- name: node
|
||||||
|
image: node:17.9.0-slim
|
||||||
|
commands:
|
||||||
|
- npm install && npm run prod && rm -R node_modules
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- dev
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue