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