From f0090eec1b9633bb644079aba27f974c7099e589 Mon Sep 17 00:00:00 2001 From: Lukas Bachschwell Date: Tue, 3 Dec 2019 23:03:40 +0100 Subject: [PATCH] adapt CI --- .drone.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.drone.yml b/.drone.yml index d8231bf..d0499a9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,4 +11,12 @@ steps: - name: greeting commands: - echo "hello world" +- name: build + commands: + - npm install + - npm run build:prod + - rm -rf /home/admin/web/joinbot.tk/public_html/* + - cp -R dist/* /home/admin/web/joinbot.tk/public_html/ + - chmod 775 -R /home/admin/web/joinbot.tk/public_html/* +