2020-10-06 00:31:29 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2022-11-05 20:02:51 +01:00
|
|
|
image: klakegg/hugo:ext-alpine-ci
|
2020-10-06 00:31:29 +02:00
|
|
|
|
2022-11-05 20:02:51 +01:00
|
|
|
- name: deploy
|
|
|
|
image: appleboy/drone-scp
|
|
|
|
settings:
|
|
|
|
host: dragon.luj0ga.de
|
|
|
|
port: 4222
|
|
|
|
username: www-data
|
|
|
|
key:
|
|
|
|
from_secret: ssh_key
|
|
|
|
passphrase:
|
|
|
|
from_secret: ssh_passphrase
|
|
|
|
target: /var/www/www.luj0ga.de/
|
|
|
|
source: public/*
|
|
|
|
strip_components: 1
|
|
|
|
rm: yes
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
branch:
|
|
|
|
- master
|