Testing SCP with drone
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4844b8dc63
commit
4281a09979
10
.drone.yml
10
.drone.yml
@ -8,14 +8,12 @@ steps:
|
||||
- npm install
|
||||
- npm run build
|
||||
- name: deploy
|
||||
image: appleboy/drone-ssh
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host:
|
||||
- 192.168.10.5
|
||||
host: 192.168.10.5
|
||||
username: thomas
|
||||
password:
|
||||
from_secret: ssh_password
|
||||
port: 22
|
||||
command_timeout: 2m
|
||||
script:
|
||||
- hostname
|
||||
target: /home/thomas/wwwtest
|
||||
source: ./dist
|
Loading…
Reference in New Issue
Block a user