Skip to content

Commit 1de2031

Browse files
committed
fix: add when event push
1 parent ba9b0ed commit 1de2031

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

live-demo/deploy/.woodpecker.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ steps:
99

1010
release:
1111
image: node:20
12+
when:
13+
- event: push
14+
1215
volumes:
1316
- /var/run/docker.sock:/var/run/docker.sock
1417
commands:
@@ -22,6 +25,9 @@ steps:
2225
- NPM_TOKEN
2326

2427
build-live-demo:
28+
when:
29+
- event: push
30+
2531
image: docker
2632
volumes:
2733
- /var/run/docker.sock:/var/run/docker.sock

0 commit comments

Comments
 (0)