From 22391f264e862b8d5eff71cf3d90f665f7ed7513 Mon Sep 17 00:00:00 2001 From: dan Date: Mon, 26 Oct 2020 20:31:54 -0600 Subject: [PATCH] build client and server --- drone.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/drone.yml b/drone.yml index e587248..0c8c85d 100644 --- a/drone.yml +++ b/drone.yml @@ -5,24 +5,11 @@ 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 +- name: build_server image: node commands: - - cd Server/www - - ls - when: - event: - - promote - target: - - production \ No newline at end of file + - cd Server + - npm install \ No newline at end of file