From 1c4f2b5d1224c41a446ad38a9896c91e11116ed6 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Mon, 18 Dec 2023 20:47:13 +0800 Subject: [PATCH] Update woodpecker.yml --- .woodpecker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 2dc6087..cc76edc 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -10,5 +10,6 @@ steps: - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > /root/.ssh/config - npm install - npm run build + - ssh root@10.0.10.4 'rm -rf /mnt/sda1/files/projects/equipment_tracker_frontend/*' - scp -r dist/* root@10.0.10.4:/mnt/sda1/files/projects/equipment_tracker_frontend secrets: [SSH_KEY]