webseite/.drone.yml
Henning Brinkmann c3b267b897
Some checks failed
continuous-integration/drone/push Build is failing
add "lektor" to command
2021-06-06 23:07:52 +02:00

27 lines
450 B
YAML

---
kind: pipeline
type: docker
name: build_webseite
workspace:
path: /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:
- lektor deploy --key ${LEKTOR_DEPLOY_KEY}
when:
branch:
- main
event:
- push
image_pull_secrets:
- dockerconfig