This repository has been archived on 2023-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
geeklabor_legacy/.drone.yml
Robert Kaussow 2a66788d49
All checks were successful
the build was successful
fix values for authors handling
2018-12-20 22:41:15 +01:00

34 lines
643 B
YAML

pipeline:
build-draft:
image: plugins/hugo
hugoVersion: 0.52
validate: true
buildDrafts: true
buildExpired: true
buildFuture: true
theme: geeklab
when:
branch: draft
event: push
build:
image: plugins/hugo
hugoVersion: 0.52
validate: true
buildFuture: true
theme: geeklab
when:
branch: master
event: push
publish:
image: appleboy/drone-scp
source: public/*
target: /var/www/virtual/geeklab/html/geeklabor.de/
secrets: [ ssh_host, ssh_username, ssh_key ]
strip_components: 1
rm: true
when:
branch: master
event: push