From 240e6c28623ee43b4203fe0883f3db88dadb5050 Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Wed, 16 Sep 2020 14:00:50 +0800 Subject: [PATCH] =?UTF-8?q?chore(=E8=87=AA=E5=8A=A8=E6=89=93=E5=8C=85):=20?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 8f58d42..03cc2fe 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,3 +1,25 @@ kind: pipeline type: docker -name: default \ No newline at end of file +name: default + +steps: + - name: build + pull: if-not-exists + image: alpine + commands: + - apk add zip + - zip -r phpcp.zip * + - name: upload + pull: if-not-exists + image: plugins/s3 + settings: + bucket: + from_secret: minio_bucket + access_key: + from_secret: minio_access_key + secret_key: + from_secret: minio_secret_key + source: phpcp.zip + target: product + path_style: true + endpoint: https://minio.aite.xyz \ No newline at end of file