yann.verry.org/.drone.yml
Yann Verry d4362c6734
Some checks failed
continuous-integration/drone/push Build is failing
fix depends
2022-10-26 22:39:38 +02:00

39 lines
610 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
depends_on:
- submodules
- name: hugo_extended
image: corpusops/hugo
commands:
- hugo_extended
depends_on:
- hugo
- submodules
- 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