From 226d594addfb5a76f0472686660dae9da5a51c8c Mon Sep 17 00:00:00 2001 From: Late Night Defender Date: Fri, 28 Feb 2025 19:57:10 +0700 Subject: [PATCH] set event filter only for techtransthai-simple-deploy --- .woodpecker.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index d27031f..d34122e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,6 +1,3 @@ -when: - - branch: main - steps: - name: techtransthai-simple-deploy image: node @@ -9,4 +6,6 @@ steps: - npm run build - cp -r public/* /mnt/caddy-sites/tsib.techtransthai.org/ volumes: - - /media/core/Data1/Apps/caddy/sites:/mnt/caddy-sites \ No newline at end of file + - /media/core/Data1/Apps/caddy/sites:/mnt/caddy-sites + when: + - branch: main \ No newline at end of file