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 install
|
||||||
- npm run build
|
- npm run build
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
host:
|
host: 192.168.10.5
|
||||||
- 192.168.10.5
|
|
||||||
username: thomas
|
username: thomas
|
||||||
password:
|
password:
|
||||||
from_secret: ssh_password
|
from_secret: ssh_password
|
||||||
port: 22
|
port: 22
|
||||||
command_timeout: 2m
|
target: /home/thomas/wwwtest
|
||||||
script:
|
source: ./dist
|
||||||
- hostname
|
|
Loading…
Reference in New Issue
Block a user