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.
2018-12-20 00:13:43 +01:00
|
|
|
pipeline:
|
|
|
|
build-draft:
|
2018-12-20 10:49:51 +01:00
|
|
|
image: plugins/hugo
|
|
|
|
hugoVersion: 0.52
|
|
|
|
validate: true
|
|
|
|
buildDrafts: true
|
|
|
|
buildExpired: true
|
|
|
|
buildFuture: true
|
|
|
|
theme: geeklab
|
2018-12-20 00:13:43 +01:00
|
|
|
when:
|
|
|
|
branch: draft
|
|
|
|
event: push
|
|
|
|
|
2018-12-20 22:41:15 +01:00
|
|
|
build:
|
2018-12-20 10:49:51 +01:00
|
|
|
image: plugins/hugo
|
|
|
|
hugoVersion: 0.52
|
|
|
|
validate: true
|
|
|
|
buildFuture: true
|
|
|
|
theme: geeklab
|
2018-12-20 00:13:43 +01:00
|
|
|
when:
|
|
|
|
branch: master
|
|
|
|
event: push
|
|
|
|
|
2018-12-20 01:17:28 +01:00
|
|
|
publish:
|
|
|
|
image: appleboy/drone-scp
|
|
|
|
source: public/*
|
2018-12-20 01:21:11 +01:00
|
|
|
target: /var/www/virtual/geeklab/html/geeklabor.de/
|
2018-12-20 08:40:25 +01:00
|
|
|
secrets: [ ssh_host, ssh_username, ssh_key ]
|
|
|
|
strip_components: 1
|
2018-12-20 09:40:34 +01:00
|
|
|
rm: true
|
2018-12-20 01:17:28 +01:00
|
|
|
when:
|
|
|
|
branch: master
|
|
|
|
event: push
|