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