add build & deploy pipeline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
vincent 2021-04-21 11:13:55 +02:00
parent 1a1a8b4681
commit 5124d98a3e

View File

@ -17,3 +17,30 @@ steps:
status: status:
- success - success
- failure - failure
---
kind: pipeline
type: docker
name: build & deploy
steps:
- 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