cd: 修改drone build配置

This commit is contained in:
mozzie 2023-03-23 13:56:08 +08:00
parent c2b54c15e6
commit 98ace645f5

View File

@ -8,12 +8,6 @@ volumes:
host:
path: /home/drone/cache/node_modules
when:
branch:
- release/**
event:
- push
steps:
# web端
- name: build-web
@ -70,6 +64,10 @@ steps:
target: /www/wwwroot/nginx/html/backset.cn/
source: ./apps/admin/dist/*
when:
branch:
- release/**
---
kind: pipeline
type: exec
@ -83,3 +81,7 @@ steps:
- name: docker container
commands:
- docker-compose up -d
when:
branch:
- release/**