Update '.drone.yml'
This commit is contained in:
parent
4d398baf0a
commit
c0209bb621
27
.drone.yml
27
.drone.yml
@ -28,6 +28,33 @@ steps:
|
|||||||
- cp -r . /config/
|
- cp -r . /config/
|
||||||
- hass -c /config --script check_config
|
- hass -c /config --script check_config
|
||||||
|
|
||||||
|
- name: ssh
|
||||||
|
image: appleboy/drone-ssh
|
||||||
|
settings:
|
||||||
|
host:
|
||||||
|
from_secret: ssh_host
|
||||||
|
username:
|
||||||
|
from_secret: ssh_username
|
||||||
|
password:
|
||||||
|
from_secret: ssh_password
|
||||||
|
port: 22
|
||||||
|
script:
|
||||||
|
- mkdir -p /home/sthope/testingdocker/iamhere
|
||||||
|
|
||||||
|
- name: scp
|
||||||
|
image: appleboy/drone-scp
|
||||||
|
settings:
|
||||||
|
host:
|
||||||
|
from_secret: ssh_host
|
||||||
|
user:
|
||||||
|
from_secret: ssh_username
|
||||||
|
password:
|
||||||
|
from_secret: ssh_password
|
||||||
|
port: 22
|
||||||
|
command_timeout: 2m
|
||||||
|
target: /home/sthope/testingdocker/iamhere
|
||||||
|
source:
|
||||||
|
- ./*
|
||||||
|
|
||||||
- name: discord
|
- name: discord
|
||||||
pull: always
|
pull: always
|
||||||
|
Loading…
x
Reference in New Issue
Block a user