modify drone pipeline
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
vincent 2021-04-20 12:07:40 +02:00
parent d0ebe3bc3a
commit 565bf8a0b2

View File

@ -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