mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 11:51:02 +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
|
# 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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue