2022-10-25 19:20:58 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
2022-10-26 20:05:46 +00:00
|
|
|
|
2022-10-25 20:21:18 +00:00
|
|
|
steps:
|
|
|
|
- name: submodules
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
|
2022-10-25 19:20:58 +00:00
|
|
|
steps:
|
|
|
|
- name: hugo
|
|
|
|
image: corpusops/hugo
|
|
|
|
commands:
|
2022-10-26 20:05:46 +00:00
|
|
|
- hugo_extended
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: scp files
|
|
|
|
image: appleboy/drone-scp
|
|
|
|
volumes:
|
|
|
|
- name: sshkey
|
|
|
|
path: /sshprivate
|
|
|
|
settings:
|
|
|
|
host: "peach.verry.org"
|
|
|
|
source: ./public
|
|
|
|
target: ~/public
|
|
|
|
username: yann-blog
|
|
|
|
key: /sshprivate
|
|
|
|
recursive: true
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: sshkey
|
|
|
|
host:
|
|
|
|
path: /srv/docker/volumes/drone/sshkey/yann-blog
|