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