fix plugin syntax in drone config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2019-01-13 16:09:18 +01:00
parent 549537aea1
commit f4220b479e

View File

@ -6,39 +6,42 @@ name: default
steps:
- name: build-draft
image: plugins/hugo
hugoVersion: 0.52
validate: true
buildDrafts: true
buildExpired: true
buildFuture: true
theme: geeklab
when:
branch: draft
event: push
settings:
hugoVersion: 0.52
validate: true
buildDrafts: true
buildExpired: true
buildFuture: true
theme: geeklab
when:
branch: draft
event: push
- name: build
image: plugins/hugo
hugoVersion: 0.52
validate: true
buildFuture: true
theme: geeklab
when:
branch: master
event: push
settings:
hugoVersion: 0.52
validate: true
buildFuture: true
theme: geeklab
when:
branch: master
event: push
- name: publish
image: appleboy/drone-scp
source: public/*
target: /var/www/virtual/geeklab/html/geeklabor.de/
environment:
SSH_HOST:
from_secret: ssh_host
SSH_USERNAME:
from_secret: ssh_username
SSH_KEY:
from_secret: ssh_key
strip_components: 1
rm: true
when:
branch: master
event: push
settings:
source: public/*
target: /var/www/virtual/geeklab/html/geeklabor.de/
environment:
SSH_HOST:
from_secret: ssh_host
SSH_USERNAME:
from_secret: ssh_username
SSH_KEY:
from_secret: ssh_key
strip_components: 1
rm: true
when:
branch: master
event: push