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 - name: build_client
image: node image: node
commands: commands:
- apt update
- apt install tree
- 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 ../Server/www - name: build_server
- ls
when:
event:
- push
- pull_request
- name: deploy
image: node image: node
commands: commands:
- cd Server/www - cd Server
- ls - npm install
when:
event:
- promote
target:
- production