From d95295b5fa128566ea53a9af66a7c5aaf246b002 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 12 Aug 2023 17:46:43 +0200 Subject: [PATCH] only run builds on changes --- .woodpecker/docs.yml | 6 ++++++ .woodpecker/web.yml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index 9a402a4..a37ce9b 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -1,3 +1,9 @@ +when: + path: + include: + - "docs/**" + - "Changelog.md" + - "InGameNews.md" steps: build-docs: image: mcr.microsoft.com/dotnet/sdk:7.0.305 diff --git a/.woodpecker/web.yml b/.woodpecker/web.yml index 0644c13..0b50127 100644 --- a/.woodpecker/web.yml +++ b/.woodpecker/web.yml @@ -1,3 +1,5 @@ +when: + path: "web/**" steps: build-web: image: ruby:latest