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-26 22:05:46 +02:00
|
|
|
|
2022-10-25 22:21:18 +02:00
|
|
|
steps:
|
|
|
|
- name: submodules
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
|
2022-10-25 21:20:58 +02:00
|
|
|
steps:
|
|
|
|
- name: hugo
|
|
|
|
image: corpusops/hugo
|
|
|
|
commands:
|
2022-10-26 22:05:46 +02:00
|
|
|
- hugo_extended
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: scp files
|
|
|
|
image: appleboy/drone-scp
|
|
|
|
settings:
|
|
|
|
host: "peach.verry.org"
|
|
|
|
source: ./public
|
|
|
|
target: ~/public
|
|
|
|
username: yann-blog
|
2022-10-26 22:27:06 +02:00
|
|
|
recursive: true
|
|
|
|
secrets:
|
|
|
|
- source: ssh_key
|
|
|
|
target: ssh_key
|