mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-10 17:45:36 +00:00
Only run docs workflow on main branch (#2105)
This commit is contained in:
parent
432fbfc57e
commit
bc049aa22a
2 changed files with 5 additions and 5 deletions
|
@ -1,9 +1,6 @@
|
|||
when:
|
||||
- event: pull_request
|
||||
- event: push
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
- release/*
|
||||
event: [pull_request, push, cron]
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
|
||||
variables:
|
||||
|
|
|
@ -22,6 +22,9 @@ steps:
|
|||
settings:
|
||||
skip-dirs: node_modules/,plugins/woodpecker-plugins/node_modules/
|
||||
dir: docs/
|
||||
when:
|
||||
event: [pull_request, push, cron]
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
check web:
|
||||
group: check
|
||||
|
|
Loading…
Reference in a new issue