You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

54 lines
964 B

---
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 init
- git submodule update --recursive --remote
- ls themes/toha
- name: build
image: plugins/hugo
settings:
hugo_version: 0.82.0
validate: true
extended: true
- name: deploy
image: drillster/drone-rsync
settings:
hosts: ["www.service.consul"]
target: /srv/http/welcome
source: public/*
user: drone-deploy
key:
from_secret: deploy_private_key
when:
branch:
- master
event:
- push