webseite/.drone.yml

28 lines
444 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:
2021-06-07 01:25:13 +02:00
- name: build-deploy
2021-06-06 23:01:58 +02:00
image: registry.wtf-eg.net/lektor
environment:
LEKTOR_DEPLOY_KEY:
from_secret: lektor_deploy_key
commands:
- pwd
2021-06-07 01:25:13 +02:00
- lektor build
- ls
2021-06-06 23:13:44 +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