From 5dcfd7339e500828a2a45c5ad1f93108a726a133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Sun, 15 Jan 2023 17:53:07 +0100 Subject: [PATCH] Update DroneCI integration to allow artifact uploading --- .drone.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 1603dce..97a6a93 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,4 +23,17 @@ steps: SONAR_INSTANCE_URL: from_secret: sonar_instance_url SONAR_LOGIN_KEY: - from_secret: sonar_login_key \ No newline at end of file + from_secret: sonar_login_key + + - name: upload-artifact + image: appleboy/drone-scp + settings: + host: + from_secret: ssh_host + port: 2222 + username: upload + password: + from_secret: ssh_password + source: + - target/*depend*jar + target: /home/upload/sftp \ No newline at end of file