diff options
author | Paul Donald <newtwen@gmail.com> | 2024-01-30 17:00:02 +0100 |
---|---|---|
committer | Paul Donald <newtwen@gmail.com> | 2024-01-30 17:09:09 +0100 |
commit | a1e8af2a9512bb72b0910d33cf14dc2b99de588a (patch) | |
tree | 9325a69a9e17dc2b17d82eec7c957db21ebcbf1a | |
parent | 09cf4a17e093ea55122ac4d8c051c83e36d9141a (diff) |
house-keeping: jsdoc reduce GitHub workload: run only when docs change
this will prevent a large amount of
deploy: <sha>
to openwrt/gh-pages branches when nothing there has changed
Note: it may not be a bad idea to have docs compile at every commit,
since docs do not change *that* often, and some action or process that
breaks is likely noticed sooner if docs that compile continuously
trigger any broken processes or workflows.
-rw-r--r-- | .github/workflows/jsdoc.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/jsdoc.yml b/.github/workflows/jsdoc.yml index 254e3e6c38..5a180bbd8e 100644 --- a/.github/workflows/jsdoc.yml +++ b/.github/workflows/jsdoc.yml @@ -4,6 +4,12 @@ on: push: branches: - master + paths: + # One day we might include all htdocs folders: + # - '**/htdocs/**' + # Until then, follow jsdoc.conf.json:source directive + - 'modules/luci-base/htdocs/luci-static/resources/**' + - 'docs/**' jobs: deploy: |