add pull: always to some pipeline tasks
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2019-02-07 23:59:37 +01:00
parent aff3baf8fe
commit 5b327870bb
1 changed files with 7 additions and 6 deletions

View File

@ -5,7 +5,6 @@ name: default
steps:
- name: build-draft
image: klakegg/hugo:0.53-alpine
pull: always
commands:
- hugo -D -E -F --theme geeklab
when:
@ -13,17 +12,16 @@ steps:
event: [ push ]
- name: build
image: plugins/hugo
settings:
hugoVersion: 0.53
validate: true
theme: geeklab
image: klakegg/hugo:0.53-alpine
commands:
- hugo --theme geeklab
when:
branch: [ master ]
event: [ push ]
- name: freeze
image: appleboy/drone-ssh
pull: always
settings:
host:
from_secret: ssh_host
@ -40,6 +38,7 @@ steps:
- name: publish
image: appleboy/drone-scp
pull: always
settings:
source: public/*
target: /var/www/virtual/geeklab/html/geeklabor.de/
@ -57,6 +56,7 @@ steps:
- name: cleanup
image: appleboy/drone-ssh
pull: always
settings:
host:
from_secret: ssh_host
@ -73,6 +73,7 @@ steps:
- name: notify
image: plugins/matrix
pull: always
settings:
homeserver: https://matrix.rknet.org
roomid: MtidqQXWWAtQcByBhH:rknet.org