From 88464126202878d53789f46aa8723b73fb4f922a Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Thu, 9 Feb 2023 22:25:46 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9E.drone.yml=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/.drone.yml b/.drone.yml index e9e094f..7ca9bcf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,38 +8,8 @@ steps: - name: build image: node:latest commands: - - git clone https://gitea.com/artemanufrij/core.git - - cd core - - npm install - - mkdir app - - cd app - - git clone https://gitea.com/WebPlay/client.git - - cd client - - git checkout ${DRONE_BRANCH} - sed -i '/"electron":/d' ./package.json - sed -i '/"electron-builder":/d' ./package.json - sed -i '/"express":/d' ./package.json - npm install - - npm run build - - mv dist ../../.. - - - name: deploy - image: appleboy/drone-scp - when: - branch: master - event: push - settings: - host: - from_secret: drone_server_host - username: - from_secret: drone_server_user - password: - from_secret: drone_server_pass - port: - from_secret: drone_server_port - command_timeout: 2m - rm: true - target: /var/www/drone/app/webplay - source: - - dist/* - strip_components: 1 + - npm run build \ No newline at end of file