From 1de2031eeaf68d88e1617aa7c358280c3651f1e9 Mon Sep 17 00:00:00 2001 From: Ivan Borshchov Date: Sat, 11 Jan 2025 02:02:45 +0200 Subject: [PATCH] fix: add when event push --- live-demo/deploy/.woodpecker.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/live-demo/deploy/.woodpecker.yml b/live-demo/deploy/.woodpecker.yml index e80e6d1c..5e1e6e59 100644 --- a/live-demo/deploy/.woodpecker.yml +++ b/live-demo/deploy/.woodpecker.yml @@ -9,6 +9,9 @@ steps: release: image: node:20 + when: + - event: push + volumes: - /var/run/docker.sock:/var/run/docker.sock commands: @@ -22,6 +25,9 @@ steps: - NPM_TOKEN build-live-demo: + when: + - event: push + image: docker volumes: - /var/run/docker.sock:/var/run/docker.sock