Update .drone.yml
continuous-integration/drone/push Build is failing Details

This commit is contained in:
周炽键 2021-06-02 19:18:51 +08:00
parent 76b99d712b
commit 8975d3728f
1 changed files with 18 additions and 7 deletions

View File

@ -36,11 +36,10 @@ steps:
rebuild: true rebuild: true
mount: mount:
- ./node_modules - ./node_modules
- ./dist
- ./yarn.lock - ./yarn.lock
- name: deploy - name: scp
image: appleboy/drone-ssh image: appleboy/drone-scp
settings: settings:
host: 124.156.152.247 host: 124.156.152.247
username: username:
@ -48,10 +47,22 @@ steps:
password: password:
from_secret: ssh_pwd from_secret: ssh_pwd
port: 8011 port: 8011
script: target: /mnt/d/deploy/node/UserModule
- echo hello source: dist
- echo world
- ls -l # - 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: volumes:
- name: modules - name: modules