From 63d837b264ce3cd16377942e88de115a4d3b72c3 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Fri, 21 Jun 2024 01:00:23 -0500 Subject: [PATCH] event: push --- .woodpecker.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 34be556..75bc448 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -14,6 +14,8 @@ steps: # - pnpm link /tmp/astro/packages/astro # - pnpm link /tmp/astro/packages/markdown/remark - pnpm run build + when: + - event: push deploy: image: alpine @@ -26,4 +28,5 @@ steps: - rsync -azrP -e "ssh -i SSH_SECRET_KEY" dist/ blogDeploy@mzhang.io:/home/blogDeploy/public secrets: [SSH_SECRET_KEY] when: - branch: master + - branch: master + event: push