From 31cc7ffc71fbe36ea51024ed21b217ec8e4ab960 Mon Sep 17 00:00:00 2001 From: gaoshiyao Date: Thu, 28 Jan 2021 14:01:32 +0800 Subject: [PATCH] [CI SKIP] --- .beagle.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.beagle.yml b/.beagle.yml index 1be526a..8cb4b49 100644 --- a/.beagle.yml +++ b/.beagle.yml @@ -15,6 +15,9 @@ pipeline: - ./node_modules volumes: - /data/cache:/cache + when: + branch: + - dev ## 构建 build: image: registry.cn-qingdao.aliyuncs.com/wod/devops-node:12.18.0-stretch @@ -24,6 +27,9 @@ pipeline: commands: - yarn - yarn build + when: + branch: + - dev store-cache: image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache:1.0 @@ -32,6 +38,9 @@ pipeline: - ./node_modules volumes: - /data/cache:/cache + when: + branch: + - dev ## 编译成静态文件 docker: -- 2.26.0