From f286199d89c669527e5e0b0d001b23327459a5b9 Mon Sep 17 00:00:00 2001 From: rainerosion Date: Tue, 9 May 2023 20:50:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7560a64..db83d9f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,7 @@ steps: - mkdir wechatbot - CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o ./wechatbot/chatgpt-arm64 - CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./wechatbot/chatgpt-amd64 - - name: upload + - name: upload-tencent-cos image: rainteam/gocos:latest settings: secret_id: @@ -24,7 +24,17 @@ steps: from_secret: cos_bucket_url source: wechatbot target: cicd - + - name: upload-upyun + image: rainteam/upcos:latest + settings: + up_operator: + from_secret: up_operator + up_password: + from_secret: up_password + up_bucket: + from_bucket: up_bucket + local_base_path: wechatbot + remote_base_path: gitea/devops - name: gitea_release image: plugins/gitea-release pull: if-not-exists