3555
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-06-24 21:22:55 +08:00
parent c676a158c0
commit 19ccbfde29

View File

@ -13,20 +13,18 @@ steps:
- name: node_modules_cache
path: /drone/src/node_modules
# 第二步上传静态资源到腾讯云COS
# 第二步上传静态资源到腾讯云COS (使用另一个插件)
- name: 上传到腾讯云
image: ccr.ccs.tencentyun.com/dronestock/cos
image: ccr.ccs.tencentyun.com/xiaoqidun/gocos
settings:
endpoint: https://files-1302416092.cos.ap-shanghai.myqcloud.com
secret:
id:
secret_id:
from_secret: cos_secret_id
key:
secret_key:
from_secret: cos_secret_key
source: dist/*
bucket_url: https://files-1302416092.cos.ap-shanghai.myqcloud.com
source: dist
target: /
strip_components: 1
clean: true
strip_prefix: dist
# 第三步:部署到服务器
- name: deploy