notebook/.drone.yml
vincent e39d6dcee3
Some checks failed
continuous-integration/drone/push Build is failing
change markdownlint target
2021-04-20 21:14:32 +02:00

56 lines
846 B
YAML

---
kind: pipeline
type: docker
name: lint
steps:
- name: lint
image: 06kellyjac/markdownlint-cli
commands:
- markdownlint . --config .markdownlint.yaml
---
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: 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
overwrite: true
key:
from_secret: gitea_private_key
target: /usr/share/nginx/html/notebook
source: build
trigger:
branch:
- master
event:
- push