This commit is contained in:
parent
48019259ff
commit
7d907590c8
16
.drone.yml
16
.drone.yml
@ -7,7 +7,8 @@ steps:
|
||||
commands:
|
||||
- npm install
|
||||
- npm run build
|
||||
- name: deploy
|
||||
|
||||
- name: copy
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: 192.168.10.5
|
||||
@ -16,4 +17,15 @@ steps:
|
||||
from_secret: ssh_password
|
||||
port: 22
|
||||
target: /home/thomas/wwwtest
|
||||
source: ./dist/*
|
||||
source: ./dist
|
||||
|
||||
- name: cleanup
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: 192.168.10.5
|
||||
username: thomas
|
||||
password:
|
||||
from_secret: ssh_password
|
||||
port: 22
|
||||
script:
|
||||
- cd /home/thomas/wwwtest
|
||||
|
Loading…
Reference in New Issue
Block a user