mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-01 00:31:50 +00:00
Only run docs workflow on main branch (#2105)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user