welcome/.drone.yml
vincent 5baadae8ff
All checks were successful
continuous-integration/drone/push Build is passing
add submodule
2021-04-21 11:32:22 +02:00

52 lines
896 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 . -i themes
when:
status:
- success
- failure
---
kind: pipeline
type: docker
name: build & deploy
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --recursive --remote
- name: build
image: plugins/hugo
settings:
validate: true
extended: true
- name: deploy
image: drillster/drone-rsync
settings:
hosts: ["www.ducamps.win"]
target: /usr/share/nginx/html/welcome
source: public/*
user: drone-deploy
key:
from_secret: deploy_private_key
when:
branch:
- master
event:
- push