From 8a1f820bf7fbb71dbb87ebaf6d6fe7ccb1ab8f61 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sat, 6 Jan 2024 15:51:48 +0800 Subject: [PATCH] update woodpecker.yml to only run on master branch --- .woodpecker.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 62a9d7b..82bee88 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -12,4 +12,6 @@ steps: - npm run build - ssh root@10.0.10.4 'rm -rf /mnt/sda1/files/projects/borrowing_tracker_frontend/*' - scp -r dist/* root@10.0.10.4:/mnt/sda1/files/projects/borrowing_tracker_frontend + when: + - branch: master secrets: [SSH_KEY]