This commit is contained in:
12
.drone.yml
12
.drone.yml
@ -18,17 +18,9 @@ steps:
|
|||||||
image: ccr.ccs.tencentyun.com/dronestock/cos
|
image: ccr.ccs.tencentyun.com/dronestock/cos
|
||||||
settings:
|
settings:
|
||||||
endpoint: https://files-1302416092.cos.ap-shanghai.myqcloud.com
|
endpoint: https://files-1302416092.cos.ap-shanghai.myqcloud.com
|
||||||
source: dist/*
|
|
||||||
secret:
|
secret:
|
||||||
id:
|
id: xAKIDeAXigQxIQMCrKbfcOxJRL4atzrY2ILFvx
|
||||||
from_secret: cos_secret_id
|
key: WoureDYgdOzR0eJn47AC6oJcopdDZhcK
|
||||||
key:
|
|
||||||
from_secret: cos_secret_key
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
- master
|
|
||||||
- dev
|
|
||||||
|
|
||||||
# 第三步:部署到服务器
|
# 第三步:部署到服务器
|
||||||
- name: deploy
|
- name: deploy
|
||||||
|
Reference in New Issue
Block a user