This commit is contained in:
parent
0975bb8f80
commit
0e13ab682c
10
.drone.yml
10
.drone.yml
|
@ -2,20 +2,17 @@ kind: pipeline
|
|||
type: docker
|
||||
name: Yann Verry - Blog
|
||||
|
||||
|
||||
steps:
|
||||
- name: submodules
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git submodule update --init --recursive
|
||||
|
||||
steps:
|
||||
- name: hugo
|
||||
image: corpusops/hugo
|
||||
commands:
|
||||
- hugo
|
||||
|
||||
steps:
|
||||
- name: hugo_extended
|
||||
image: corpusops/hugo
|
||||
commands:
|
||||
|
@ -23,8 +20,10 @@ steps:
|
|||
depends_on:
|
||||
- hugo
|
||||
|
||||
steps:
|
||||
- name: scp files
|
||||
depends_on:
|
||||
- hugo
|
||||
- hugo_extended
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: "peach.verry.org"
|
||||
|
@ -34,6 +33,3 @@ steps:
|
|||
recursive: true
|
||||
key:
|
||||
from_secret: ssh_key
|
||||
depends_on:
|
||||
- hugo
|
||||
- hugo_extended
|
Loading…
Reference in a new issue