Rebuild docs for api changes and add deploy preview (#1979)

This commit is contained in:
Patrick Schratz 2023-07-11 22:52:18 +02:00 committed by GitHub
parent edb92025df
commit 4226f7d158
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -7,6 +7,8 @@ variables:
# since we generate docs for cli tool we have to watch this too # since we generate docs for cli tool we have to watch this too
- "cli/**" - "cli/**"
- "cmd/cli/**" - "cmd/cli/**"
# api docs
- "server/api/**"
steps: steps:
build-cli: build-cli:

View file

@ -6,6 +6,8 @@ variables:
- ".woodpecker/web.yml" - ".woodpecker/web.yml"
# web source code # web source code
- "web/**" - "web/**"
# api source code
- "server/api/**"
branch: branch:
exclude: ${CI_REPO_DEFAULT_BRANCH} exclude: ${CI_REPO_DEFAULT_BRANCH}
event: push event: push