webseite/.drone.yml
Stephan 6eac032d6f fix: attempt to configure separate pipelines for prs and pushes to main
Atm. two builds are created which lead to the missing recognition of the success of one of the builds.
2021-08-18 15:41:14 +02:00

39 lines
471 B
YAML

---
kind: pipeline
type: docker
name: build_webseite_main
workspace:
path: /workspace
steps:
- name: build
image: registry.wtf-eg.net/lektor
image_pull_secrets:
- dockerconfig
trigger:
branch:
- main
event:
- push
---
kind: pipeline
type: docker
name: build_webseite_pr
workspace:
path: /workspace
steps:
- name: build
image: registry.wtf-eg.net/lektor
image_pull_secrets:
- dockerconfig
trigger:
event:
- pull_request