yann.verry.org/.drone.yml

39 lines
587 B
YAML
Raw Normal View History

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-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
2022-10-26 20:34:53 +00:00
image: corpusops/hugo
commands:
- hugo
steps:
- 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
steps:
- name: scp files
image: appleboy/drone-scp
settings:
host: "peach.verry.org"
source: ./public
target: ~/public
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
2022-10-26 20:34:53 +00:00
depends_on:
- hugo
- hugo_extended