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