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: