Skip to content

Commit

Permalink
Add an English-only docsbuild scheduled job
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Oct 10, 2024
1 parent c836cc0 commit 462eb7a
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion salt/docs/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ docsbuild-sentry:

docsbuild-no-html:
cron.present:
# run every other day at 07:06
- identifier: docsbuild-no-html
- name: >
/srv/docsbuild/venv/bin/python
Expand All @@ -89,18 +90,35 @@ docsbuild-no-html:
- user: docsbuild
- minute: 7
- hour: 6
- daymonth: '*/2'
- require:
- cmd: virtualenv-dependencies

docsbuild-only-html:
cron.present:
# run daily at 04:42
- identifier: docsbuild-only-html
- name: >
/srv/docsbuild/venv/bin/python
/srv/docsbuild/scripts/build_docs.py
--select-output=only-html
- user: docsbuild
- minute: 16
- minute: 42
- hour: 4
- require:
- cmd: virtualenv-dependencies

docsbuild-only-html-en:
cron.present:
# run twice hourly at HH:16 and HH:46
- identifier: docsbuild-only-html
- name: >
/srv/docsbuild/venv/bin/python
/srv/docsbuild/scripts/build_docs.py
--select-output=only-html-en
--language=en
- user: docsbuild
- minute: 16,46
- require:
- cmd: virtualenv-dependencies

Expand Down

0 comments on commit 462eb7a

Please sign in to comment.