From 41d3d712e4a0f4b53493c869c46bb116393592ce Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Thu, 4 May 2023 15:11:44 -0700 Subject: [PATCH] Set deploy to only happen on push to public --- .woodpecker.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 1e2fe01..b415bc0 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -18,4 +18,7 @@ pipeline: template: template.nomad environment: - PLUGIN_WATCH_DEPLOYMENT=true - - PLUGIN_WATCH_DEPLOYMENT_TIMEOUT=10m \ No newline at end of file + - PLUGIN_WATCH_DEPLOYMENT_TIMEOUT=10m + when: + branch: public + event: push \ No newline at end of file