mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-28 03:10:29 +00:00
Rebuild docs for api changes and add deploy preview (#1979)
This commit is contained in:
parent
edb92025df
commit
4226f7d158
2 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue