This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user