From 8975d3728fc3122cf1665fc4a9647f5118d42200 Mon Sep 17 00:00:00 2001 From: 13078417792 <397201698@qq.com> Date: Wed, 2 Jun 2021 19:18:51 +0800 Subject: [PATCH] Update .drone.yml --- .drone.yml | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 252b04a5..734e8766 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,11 +36,10 @@ steps: rebuild: true mount: - ./node_modules - - ./dist - ./yarn.lock - - name: deploy - image: appleboy/drone-ssh + - name: scp + image: appleboy/drone-scp settings: host: 124.156.152.247 username: @@ -48,10 +47,22 @@ steps: password: from_secret: ssh_pwd port: 8011 - script: - - echo hello - - echo world - - ls -l + target: /mnt/d/deploy/node/UserModule + source: dist + + # - name: deploy + # image: appleboy/drone-ssh + # settings: + # host: 124.156.152.247 + # username: + # from_secret: ssh_username + # password: + # from_secret: ssh_pwd + # port: 8011 + # script: + # - echo hello + # - echo world + # - ls -l volumes: - name: modules