From c0209bb6212ad67e39c8a921221b737252dc0f46 Mon Sep 17 00:00:00 2001 From: sthope Date: Thu, 2 Sep 2021 14:08:10 +0200 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.drone.yml b/.drone.yml index 34a49e8..fccb620 100644 --- a/.drone.yml +++ b/.drone.yml @@ -28,6 +28,33 @@ steps: - cp -r . /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 pull: always