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