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
theme: geeklab
when:
branch: draft
event: push
branch: [ draft ]
event: [ push ]
- name: build
image: plugins/hugo
@ -25,23 +25,22 @@ steps:
buildFuture: true
theme: geeklab
when:
branch: master
event: push
branch: [ master ]
event: [ push ]
- name: publish
image: appleboy/drone-scp
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
host:
from_secret: ssh_host
username:
from_secret: ssh_username
key:
from_secret: ssh_key
strip_components: 1
rm: true
when:
branch: master
event: push
branch: [ master ]
event: [ push ]