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
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