From 565bf8a0b20cda52329db910267327eab79b9dd4 Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 20 Apr 2021 12:07:40 +0200 Subject: [PATCH] modify drone pipeline --- .drone.yml | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index f685574..08016c3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,15 +1,45 @@ +--- +kind: pipeline +type: docker +name: lint +steps: + - name: lint + image: 06kellyjac/markdownlint-cli + commands: + - markdownlint **/*.md + +--- + +kind: pipeline +type: docker +name: test build + +steps: +- name: build + image: python + commands: + - make install -e BUILDDIR=build +trigger: + event: + exclude: + - push +--- kind: pipeline type: docker name: deploy steps: -- name: prepare + +- name: build image: python commands: - make install -e BUILDDIR=build - name: deploy image: appleboy/drone-scp + when: + status: + - success settings: host: www.ducamps.win user: drone-deploy