Henning Brinkmann
4eb294a8b1
All checks were successful
continuous-integration/drone/push Build is passing
28 lines
444 B
YAML
28 lines
444 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: build_webseite
|
|
|
|
workspace:
|
|
path: /workspace
|
|
|
|
steps:
|
|
- name: build-deploy
|
|
image: registry.wtf-eg.net/lektor
|
|
environment:
|
|
LEKTOR_DEPLOY_KEY:
|
|
from_secret: lektor_deploy_key
|
|
commands:
|
|
- pwd
|
|
- lektor build
|
|
- ls
|
|
- lektor deploy --key $LEKTOR_DEPLOY_KEY
|
|
when:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|
|
|
|
image_pull_secrets:
|
|
- dockerconfig
|