event: push
This commit is contained in:
parent
0d70a68769
commit
63d837b264
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue