From 2b0612df7252285b55ba068446a82215189ae432 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Sun, 29 Sep 2024 14:36:13 +0200 Subject: [PATCH] fix pipeline for dashboard --- .woodpecker/.dashboard.yaml | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/.woodpecker/.dashboard.yaml b/.woodpecker/.dashboard.yaml index 7886f59..7387bd4 100644 --- a/.woodpecker/.dashboard.yaml +++ b/.woodpecker/.dashboard.yaml @@ -9,7 +9,11 @@ steps: - branch: main event: push path: - include: ['dashboard/*', '.woodpecker/*'] + include: ['.woodpecker/*'] + - branch: main + event: push + path: + include: ['dashboard/*'] - name: kustomize push dashboard changes (prod + staging) image: appleboy/drone-git-push settings: @@ -25,7 +29,11 @@ steps: - branch: main event: push path: - include: ['dashboard/*', '.woodpecker/*'] + include: ['dashboard/*'] + - branch: main + event: push + path: + include: ['.woodpecker/*'] - name: kustomize build dashboard (staging) image: git.ar21.de/aaron/kustomize-ci commands: @@ -36,7 +44,12 @@ steps: exclude: main event: push path: - include: ['dashboard/*', '.woodpecker/*'] + include: ['.woodpecker/*'] + - branch: + exclude: main + event: push + path: + include: ['dashboard/*'] - name: kustomize push dashboard changes (staging) image: appleboy/drone-git-push settings: @@ -53,4 +66,9 @@ steps: exclude: main event: push path: - include: ['dashboard/*', '.woodpecker/*'] \ No newline at end of file + include: ['.woodpecker/*'] + - branch: + exclude: main + event: push + path: + include: ['dashboard/*']