diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index 9878319b0..db783ce81 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -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