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