From ce19c92c7f6c7faf5a6e4c7f98b4067cbb911664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E4=BB=A4=E7=AB=A5=E9=9E=8B?= Date: Fri, 11 Sep 2020 15:30:02 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'.cid/redis.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cid/redis.yml | 57 +++++--------------------------------------------- 1 file changed, 5 insertions(+), 52 deletions(-) diff --git a/.cid/redis.yml b/.cid/redis.yml index c1eb40a..fc13d20 100644 --- a/.cid/redis.yml +++ b/.cid/redis.yml @@ -1,53 +1,6 @@ ---- -kind: pipeline -name: drone - -workspace: - base: /app - path: git/drone - -steps: - - name: build - image: node:alpine - volumes: - - name: webroot - path: /wwwroot +pipeline: + build: + image: plugins/docker + registry:registry.cn-hangzhou.aliyuncs.com commands: - - /bin/sh bash.sh - environment: - host: - from_secret: host - port: - from_secret: port - abc: abctest - - name: deploy - image: appleboy/drone-scp - when: - status: - - success - settings: - host: - from_secret: host - port: - from_secret: port - key: - from_secret: rsa - username: - from_secret: username - target: - from_secret: deploy_path - source: ./* - -volumes: - - name: webroot - host: - path: /opt - - name: cache - host: - path: /tmp/cache - -trigger: - branch: - - master - event: - - push + - make