31 lines
507 B
YAML
31 lines
507 B
YAML
---
|
|
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: plugins/hugo
|
|
settings:
|
|
extended: yes
|
|
validate: yes
|
|
|
|
- name: deploy
|
|
image: appleboy/drone-scp
|
|
settings:
|
|
host: dragon.luj0ga.de
|
|
username: www
|
|
key:
|
|
from_secret: ssh_key
|
|
passphrase:
|
|
from_secret: ssh_passphrase
|
|
target: /srv/www/sites/www.franconian.net/
|
|
source: public/*
|
|
rm: yes
|
|
when:
|
|
event:
|
|
- push
|
|
branch:
|
|
- main
|