cd: 修改drone build配置
This commit is contained in:
parent
c2b54c15e6
commit
98ace645f5
14
.drone.yml
14
.drone.yml
|
@ -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/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user