36 lines
566 B
YAML
36 lines
566 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: Yann Verry - Blog
|
|
|
|
steps:
|
|
- name: submodules
|
|
image: alpine/git
|
|
commands:
|
|
- git submodule update --init --recursive
|
|
|
|
- name: hugo
|
|
image: corpusops/hugo
|
|
commands:
|
|
- hugo
|
|
|
|
- name: hugo_extended
|
|
image: corpusops/hugo
|
|
commands:
|
|
- hugo_extended
|
|
depends_on:
|
|
- hugo
|
|
|
|
- name: scp files
|
|
depends_on:
|
|
- hugo
|
|
- hugo_extended
|
|
image: appleboy/drone-scp
|
|
settings:
|
|
host: "peach.verry.org"
|
|
source: ./public
|
|
target: ~/public
|
|
username: yann-blog
|
|
recursive: true
|
|
key:
|
|
from_secret: ssh_key
|