change markdownlint target

This commit is contained in:
vincent 2021-04-20 21:14:32 +02:00
parent f7db49b554
commit e39d6dcee3

View File

@ -6,7 +6,7 @@ steps:
- name: lint - name: lint
image: 06kellyjac/markdownlint-cli image: 06kellyjac/markdownlint-cli
commands: commands:
- markdownlint **/*.md --config .markdownlint.yaml - markdownlint . --config .markdownlint.yaml
--- ---
@ -15,43 +15,41 @@ type: docker
name: test build name: test build
steps: steps:
- name: build - name: build
image: python image: python
commands: commands:
- make install -e BUILDDIR=build - make install -e BUILDDIR=build
trigger: trigger:
event: event:
exclude: exclude:
- push - push
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: deploy name: deploy
steps: steps:
- name: build
image: python
commands:
- make install -e BUILDDIR=build
- name: build - name: deploy
image: python image: appleboy/drone-scp
commands: when:
- make install -e BUILDDIR=build
- name: deploy
image: appleboy/drone-scp
when:
status: status:
- success - success
settings: settings:
host: www.ducamps.win host: www.ducamps.win
user: drone-deploy user: drone-deploy
overwrite: true overwrite: true
key: key:
from_secret: gitea_private_key from_secret: gitea_private_key
target: /usr/share/nginx/html/notebook target: /usr/share/nginx/html/notebook
source: build source: build
trigger: trigger:
branch: branch:
- master - master
event: event:
- push - push