From 266eda77833beae273eb1d6440b69c0f1c019898 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Tue, 30 Jun 2020 14:30:43 +0200 Subject: [PATCH] deploy to fwupdate server --- .drone.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.drone.yml b/.drone.yml index 4a09b76..13c6569 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,6 +24,25 @@ steps: when: event: tag + - name: deploy + image: appleboy/drone-scp + settings: + host: 172.16.85.15 + target: /var/www/fwupdate/fota/${DRONE_REPO_NAME} + source: + - .pio/build/lolin_d32_pro/*.bin + - version.txt + #rm: true + strip_components: 1 + username: + from_secret: ssh_username + password: + from_secret: ssh_password + port: + from_secret: ssh_port + when: + event: tag + - name: notify image: drillster/drone-email settings: