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