forked from vincent/notebook
change markdownlint target
This commit is contained in:
parent
f7db49b554
commit
e39d6dcee3
56
.drone.yml
56
.drone.yml
@ -5,8 +5,8 @@ name: lint
|
||||
steps:
|
||||
- name: lint
|
||||
image: 06kellyjac/markdownlint-cli
|
||||
commands:
|
||||
- markdownlint **/*.md --config .markdownlint.yaml
|
||||
commands:
|
||||
- markdownlint . --config .markdownlint.yaml
|
||||
|
||||
---
|
||||
|
||||
@ -15,43 +15,41 @@ type: docker
|
||||
name: test build
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: python
|
||||
commands:
|
||||
- make install -e BUILDDIR=build
|
||||
- name: build
|
||||
image: python
|
||||
commands:
|
||||
- make install -e BUILDDIR=build
|
||||
trigger:
|
||||
event:
|
||||
exclude:
|
||||
- push
|
||||
event:
|
||||
exclude:
|
||||
- push
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: deploy
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: python
|
||||
commands:
|
||||
- make install -e BUILDDIR=build
|
||||
|
||||
- name: build
|
||||
image: python
|
||||
commands:
|
||||
- make install -e BUILDDIR=build
|
||||
|
||||
- name: deploy
|
||||
image: appleboy/drone-scp
|
||||
when:
|
||||
status:
|
||||
- name: deploy
|
||||
image: appleboy/drone-scp
|
||||
when:
|
||||
status:
|
||||
- success
|
||||
settings:
|
||||
host: www.ducamps.win
|
||||
user: drone-deploy
|
||||
overwrite: true
|
||||
key:
|
||||
from_secret: gitea_private_key
|
||||
target: /usr/share/nginx/html/notebook
|
||||
source: build
|
||||
settings:
|
||||
host: www.ducamps.win
|
||||
user: drone-deploy
|
||||
overwrite: true
|
||||
key:
|
||||
from_secret: gitea_private_key
|
||||
target: /usr/share/nginx/html/notebook
|
||||
source: build
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
event:
|
||||
- push
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user