UIAngular/drone.yml

26 lines
451 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: dockerize
image: docker
volumes:
- name: docker_sock
path: /var/run/docker.sock
commands:
- cd Server
- docker-compose up -d
- name: build_client
image: node
commands:
- cd Client
- npm install
- node node_modules/@angular/cli/bin/ng build --prod --configuration=production
volumes:
- name: docker_sock
host:
path: /var/run/docker.sock