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
|
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
|
||||||
|
|
Loading…
Reference in New Issue