UIAngular/drone.yml

28 lines
474 B
YAML

kind: pipeline
type: docker
name: default
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
image: node
commands:
- cd Server/www
- ls
when:
event:
- promote
target:
- production