Merge pull request 'fix: attempt to configure separate pipelines for prs and pushes to main' (#79) from drone_pipline_separation into main
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #79
This commit is contained in:
commit
1872300f55
29
.drone.yml
29
.drone.yml
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: build_webseite
|
name: build_webseite_main
|
||||||
|
|
||||||
workspace:
|
workspace:
|
||||||
path: /workspace
|
path: /workspace
|
||||||
@ -11,4 +11,29 @@ steps:
|
|||||||
image: registry.wtf-eg.net/lektor
|
image: registry.wtf-eg.net/lektor
|
||||||
|
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
- dockerconfig
|
- 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
|
Loading…
Reference in New Issue
Block a user