Merge pull request 'fix: attempt to configure separate pipelines for prs and pushes to main' (#79) from drone_pipline_separation into main

Reviewed-on: ag_kommunikation/webseite#79
This commit is contained in:
muli 2021-08-18 15:48:11 +02:00
commit 1872300f55

View File

@ -1,7 +1,7 @@
---
kind: pipeline
type: docker
name: build_webseite
name: build_webseite_main
workspace:
path: /workspace
@ -12,3 +12,28 @@ steps:
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