notebook/.drone.yml
vincent 62f0764e4b
Some checks failed
continuous-integration/drone/push Build is failing
update CI to new deploiement target
2022-05-12 11:14:53 +02:00

60 lines
941 B
YAML

---
kind: pipeline
type: docker
name: lint
steps:
- name: yaml linting
image: pipelinecomponents/yamllint
commands:
- yamllint .
- name: markdown linting
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=notebook
- name: deploy
image: appleboy/drone-scp
when:
status:
- success
settings:
host: www.service.consul
user: drone-deploy
overwrite: true
key:
from_secret: gitea_private_key
target: /srv/http
source: notebook
trigger:
branch:
- master
event:
- push