diff --git a/drone.yml b/drone.yml index f066b34..d1a9cbd 100644 --- a/drone.yml +++ b/drone.yml @@ -2,15 +2,8 @@ kind: pipeline type: docker name: default steps: -- name: build_client - image: node - commands: - - cd Client - - npm install - - node node_modules/@angular/cli/bin/ng build --prod --configuration=production - - name: dockerize - image: docker-compose + image: docker volumes: - name: docker_sock path: /var/run/docker.sock @@ -18,6 +11,15 @@ steps: - 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: