Die 5222.de Homepage https://www.5222.de
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.
 
 
 
 

38 lines
651 B

---
kind: pipeline
type: docker
name: default
trigger:
ref:
- "refs/pull/**"
steps:
- name: build
image: plugins/hugo
settings:
hugo_version: 0.81.0
validate: true
source: 5222.de/
output: ../public
- name: upload
image: drillster/drone-rsync
settings:
hosts:
from_secret: rsync_server
source: ./public/
target:
from_secret: rsync_target
recursive: true
delete: true
environment:
RSYNC_KEY:
from_secret: rsync_key
RSYNC_USER:
from_secret: rsync_user
when:
event:
- promote
target:
- live