Update .drone.yml
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
76b99d712b
commit
8975d3728f
25
.drone.yml
25
.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
|
||||
|
|
Loading…
Reference in New Issue