webseite/.drone.yml

27 lines
450 B
YAML
Raw Normal View History

2021-04-25 12:06:14 +02:00
---
kind: pipeline
type: docker
name: build_webseite
workspace:
path: /workspace
2021-04-25 12:06:14 +02:00
steps:
- name: build
image: registry.wtf-eg.net/lektor
2021-06-06 23:01:58 +02:00
- name: deploy
image: registry.wtf-eg.net/lektor
environment:
LEKTOR_DEPLOY_KEY:
from_secret: lektor_deploy_key
commands:
2021-06-06 23:07:52 +02:00
- lektor deploy --key ${LEKTOR_DEPLOY_KEY}
2021-06-06 23:01:58 +02:00
when:
branch:
- main
2021-06-06 23:01:58 +02:00
event:
- push
image_pull_secrets:
2021-06-06 23:01:58 +02:00
- dockerconfig