build client and server

test
dan 2020-10-26 20:31:54 -06:00
parent f04b5c7895
commit 22391f264e
1 changed files with 3 additions and 16 deletions

View File

@ -5,24 +5,11 @@ steps:
- name: build_client
image: node
commands:
- apt update
- apt install tree
- cd Client
- npm install
- node node_modules/@angular/cli/bin/ng build --prod --configuration=production
- cd ../Server/www
- ls
when:
event:
- push
- pull_request
- name: deploy
- name: build_server
image: node
commands:
- cd Server/www
- ls
when:
event:
- promote
target:
- production
- cd Server
- npm install