add pull: always to some pipeline tasks
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
aff3baf8fe
commit
5b327870bb
13
.drone.yml
13
.drone.yml
@ -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
|
||||
|
Reference in New Issue
Block a user