deploy step
parent
c629d2fc2a
commit
f04b5c7895
10
drone.yml
10
drone.yml
|
|
@ -7,15 +7,10 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- apt update
|
- apt update
|
||||||
- apt install tree
|
- apt install tree
|
||||||
- cd Server/src
|
|
||||||
- ls
|
|
||||||
- cd ../../
|
|
||||||
- cd Client
|
- cd Client
|
||||||
- npm install
|
- npm install
|
||||||
- node node_modules/@angular/cli/bin/ng build --prod --configuration=production
|
- node node_modules/@angular/cli/bin/ng build --prod --configuration=production
|
||||||
- cd ../
|
- cd ../Server/www
|
||||||
- tree -a -I 'node_modules'
|
|
||||||
- cd Server/www
|
|
||||||
- ls
|
- ls
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
|
|
@ -24,7 +19,8 @@ steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: node
|
image: node
|
||||||
commands:
|
commands:
|
||||||
- node --version
|
- cd Server/www
|
||||||
|
- ls
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- promote
|
- promote
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue