welcome/.drone.yml
vincent 79d39b5428
All checks were successful
continuous-integration/drone/push Build is passing
update CI
2022-05-12 11:12:43 +02:00

55 lines
964 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 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