add step "deploy"
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d6cfd6ed29
commit
b7801d14dc
14
.drone.yml
14
.drone.yml
|
@ -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
|
||||
|
|
|
@ -1,2 +1,7 @@
|
|||
[project]
|
||||
name = Webseite
|
||||
|
||||
[servers.production]
|
||||
target = rsync://root@minecraft.henning-brinkmann.de/root/webseite
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue