1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

docs: generate docs daily (#3067)

## What

This change fixes the `generate-docs` workflow, so that they'll run
daily as a cron job. The `schedule` property had been erroneously listed
as a sub-property of the `workflow_dispatch` property.

## Why

The way the docs are set up at the moment, they source a lot of their
content from external repos. As it stands, we don't listen for update
events in all of those external dependencies, so we don't know when they
update. We do still want the docs to be reasonably fresh, though.

So to achieve this, we can run this workflow once a day to make sure
that no docs are more than 24 hours old.
This commit is contained in:
Thomas Heartman 2023-02-08 11:30:00 +01:00 committed by GitHub
parent 9f93f78fcc
commit 1ca918295a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,8 +8,9 @@ on:
- website/**
workflow_dispatch:
schedule:
- cron: '@daily'
- cron: '0 0 * * *'
jobs:
build: