feat(部署脚本): 更新部署脚本
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
xiaoqidun 2023-07-07 14:51:16 +08:00
parent 874ce4233e
commit 38c568e0ed

@ -2,6 +2,9 @@ kind: pipeline
type: docker
name: default
node:
region: cn
steps:
- name: build
pull: if-not-exists
@ -10,7 +13,7 @@ steps:
- apk add zip
- zip -r fileadmin.zip *
- name: upload
image: hkccr.ccs.tencentyun.com/xiaoqidun/gocos
image: ccr.ccs.tencentyun.com/xiaoqidun/gocos
settings:
secret_id:
from_secret: cos_secret_id
@ -19,4 +22,4 @@ steps:
bucket_url:
from_secret: cos_bucket_url
source: fileadmin.zip
target: product
target: product