add "midnight_docs" cron job, so plugin info gets refreshed each midnight in any case

This commit is contained in:
6543 2023-04-03 00:20:30 +02:00
parent ea95d5aa76
commit e8d33998d3
No known key found for this signature in database
GPG key ID: B8BE6D610E61C862

View file

@ -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