add step "deploy"
continuous-integration/drone/push Build is passing Details

This commit is contained in:
hbr 2021-06-06 23:01:58 +02:00
parent d6cfd6ed29
commit b7801d14dc
2 changed files with 18 additions and 1 deletions

View File

@ -9,6 +9,18 @@ workspace:
steps:
- name: build
image: registry.wtf-eg.net/lektor
- name: deploy
image: registry.wtf-eg.net/lektor
environment:
LEKTOR_DEPLOY_KEY:
from_secret: lektor_deploy_key
commands:
- deploy --key ${LEKTOR_DEPLOY_KEY}
when:
branch:
- master
event:
- push
image_pull_secrets:
- dockerconfig
- dockerconfig

View File

@ -1,2 +1,7 @@
[project]
name = Webseite
[servers.production]
target = rsync://root@minecraft.henning-brinkmann.de/root/webseite