From 7d907590c81e37b6ae44f7f6a7a1b7909bee2bb9 Mon Sep 17 00:00:00 2001 From: Thomas Cole Date: Fri, 3 Jun 2022 06:01:55 -0400 Subject: [PATCH] Reading documentation --- .drone.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0233f77..23fbb6d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,8 @@ steps: commands: - npm install - npm run build -- name: deploy + +- name: copy image: appleboy/drone-scp settings: host: 192.168.10.5 @@ -16,4 +17,15 @@ steps: from_secret: ssh_password port: 22 target: /home/thomas/wwwtest - source: ./dist/* + source: ./dist + +- name: cleanup + image: appleboy/drone-scp + settings: + host: 192.168.10.5 + username: thomas + password: + from_secret: ssh_password + port: 22 + script: + - cd /home/thomas/wwwtest