From 4ffb5bc8cb5e38129c176d1070bf4371a14d5ee2 Mon Sep 17 00:00:00 2001 From: Ludger Sicking Date: Wed, 16 Oct 2024 12:23:31 +0200 Subject: [PATCH] Warnung umgehen; Pipeline immer "finden" --- .woodpecker/build-html-copy-to-server.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.woodpecker/build-html-copy-to-server.yaml b/.woodpecker/build-html-copy-to-server.yaml index 547716b..6724d2d 100644 --- a/.woodpecker/build-html-copy-to-server.yaml +++ b/.woodpecker/build-html-copy-to-server.yaml @@ -1,3 +1,6 @@ +when: + - event: push + steps: - name: set_path_for_branch @@ -13,10 +16,6 @@ steps: # nur zum Prüfen, was es an Hugo Konfigs gibt - find . -name "*hugo*yaml" - find . -name "*hugo*toml" - when: - - branch: - include: '**' - #exclude: main - name: build_by_hugo image: hugomods/hugo