From 4226f7d15872decbe9ac1e6995e24769c57e5814 Mon Sep 17 00:00:00 2001 From: Patrick Schratz Date: Tue, 11 Jul 2023 22:52:18 +0200 Subject: [PATCH] Rebuild docs for api changes and add deploy preview (#1979) --- .woodpecker/docs.yml | 2 ++ .woodpecker/web.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index 110b4470e..d44ce3fa0 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -7,6 +7,8 @@ variables: # since we generate docs for cli tool we have to watch this too - "cli/**" - "cmd/cli/**" + # api docs + - "server/api/**" steps: build-cli: diff --git a/.woodpecker/web.yml b/.woodpecker/web.yml index f7a608e23..b0bd9431f 100644 --- a/.woodpecker/web.yml +++ b/.woodpecker/web.yml @@ -6,6 +6,8 @@ variables: - ".woodpecker/web.yml" # web source code - "web/**" + # api source code + - "server/api/**" branch: exclude: ${CI_REPO_DEFAULT_BRANCH} event: push