UIAngular/drone.yml

28 lines
460 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build_client
image: node
commands:
- "cd Server/src"
- "ls"
- "cd ../../"
- "cd Client"
- "npm install"
- "node node_modules/@angular/cli/bin/ng build --prod"
- "cd ../Server/src"
- "ls"
when:
event:
- push
- pull_request
- name: deploy
image: node
commands:
- node --version
when:
event:
- promote
target:
- production