fix conditions
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-01-13 16:14:24 +01:00
parent f4220b479e
commit 206045607e

View File

@ -14,8 +14,8 @@ steps:
buildFuture: true buildFuture: true
theme: geeklab theme: geeklab
when: when:
branch: draft branch: [ draft ]
event: push event: [ push ]
- name: build - name: build
image: plugins/hugo image: plugins/hugo
@ -25,23 +25,22 @@ steps:
buildFuture: true buildFuture: true
theme: geeklab theme: geeklab
when: when:
branch: master branch: [ master ]
event: push event: [ push ]
- name: publish - name: publish
image: appleboy/drone-scp image: appleboy/drone-scp
settings: settings:
source: public/* source: public/*
target: /var/www/virtual/geeklab/html/geeklabor.de/ target: /var/www/virtual/geeklab/html/geeklabor.de/
environment: host:
SSH_HOST:
from_secret: ssh_host from_secret: ssh_host
SSH_USERNAME: username:
from_secret: ssh_username from_secret: ssh_username
SSH_KEY: key:
from_secret: ssh_key from_secret: ssh_key
strip_components: 1 strip_components: 1
rm: true rm: true
when: when:
branch: master branch: [ master ]
event: push event: [ push ]