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.
 
 
 

43 lines
745 B

kind: pipeline
type: docker
name: default
trigger:
event:
include:
- push
exclude:
- pull_request
steps:
- name: build
image: plugins/hugo
settings:
hugo_version: 0.57.2
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:
status:
- success
branch:
- master
event:
exclude:
- pull_request