mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
add "midnight_docs" cron job, so plugin info gets refreshed each midnight in any case
This commit is contained in:
parent
ea95d5aa76
commit
e8d33998d3
1 changed files with 11 additions and 5 deletions
|
@ -14,7 +14,9 @@ pipeline:
|
|||
commands:
|
||||
- make docs
|
||||
when:
|
||||
path: *when_path
|
||||
- path: *when_path
|
||||
- cron: midnight_docs
|
||||
event: cron
|
||||
|
||||
build:
|
||||
image: *node_image
|
||||
|
@ -24,7 +26,9 @@ pipeline:
|
|||
- pnpm install --frozen-lockfile
|
||||
- pnpm build
|
||||
when:
|
||||
path: *when_path
|
||||
- path: *when_path
|
||||
- cron: midnight_docs
|
||||
event: cron
|
||||
|
||||
securitycheck:
|
||||
image: aquasec/trivy:latest
|
||||
|
@ -73,6 +77,8 @@ pipeline:
|
|||
- git commit -m "Deploy website - based on ${CI_COMMIT_SHA}"
|
||||
- git push
|
||||
when:
|
||||
event: push
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
path: *when_path
|
||||
- event: push
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
path: *when_path
|
||||
- cron: midnight_docs
|
||||
event: cron
|
||||
|
|
Loading…
Reference in a new issue