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/* +