2022-10-25 19:20:58 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2022-10-26 20:27:06 +00:00
|
|
|
name: Yann Verry - Blog
|
2022-10-25 19:20:58 +00:00
|
|
|
|
2022-10-25 20:21:18 +00:00
|
|
|
steps:
|
|
|
|
|
2022-10-25 19:20:58 +00:00
|
|
|
- name: hugo
|
2022-10-26 20:34:53 +00:00
|
|
|
image: corpusops/hugo
|
|
|
|
commands:
|
|
|
|
- hugo
|
|
|
|
|
|
|
|
- name: hugo_extended
|
2022-10-25 19:20:58 +00:00
|
|
|
image: corpusops/hugo
|
|
|
|
commands:
|
2022-10-26 20:05:46 +00:00
|
|
|
- hugo_extended
|
2022-10-26 20:34:53 +00:00
|
|
|
depends_on:
|
|
|
|
- hugo
|
2022-10-26 20:05:46 +00:00
|
|
|
|
|
|
|
- name: scp files
|
2022-10-26 20:38:47 +00:00
|
|
|
depends_on:
|
|
|
|
- hugo
|
|
|
|
- hugo_extended
|
2022-10-26 20:05:46 +00:00
|
|
|
image: appleboy/drone-scp
|
|
|
|
settings:
|
2022-10-26 21:03:27 +00:00
|
|
|
host: peach.internal.verry.org
|
2022-10-26 21:37:43 +00:00
|
|
|
source: ./public/
|
|
|
|
target: ./
|
2022-10-26 20:05:46 +00:00
|
|
|
username: yann-blog
|
2022-10-26 20:27:06 +00:00
|
|
|
recursive: true
|
2022-10-26 20:28:38 +00:00
|
|
|
key:
|
2022-10-26 20:32:20 +00:00
|
|
|
from_secret: ssh_key
|