diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml new file mode 100644 index 00000000..34c7b475 --- /dev/null +++ b/.github/workflows/schedule.yml @@ -0,0 +1,14 @@ +--- +name: "Monthly linkcheck" +on: + schedule: + - cron: "0 0 11 * *" + workflow_dispatch: +jobs: + test: + name: "Monthly linkcheck" + runs-on: "ubuntu-22.04" + steps: + - name: "Linkcheck" + run: | + make linkcheck diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 63f0fa96..a2b339f0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,9 +32,6 @@ jobs: - name: "Run build test" run: | make test - - name: "Linkcheck" - run: | - make linkcheck lint: name: "Linting" runs-on: "ubuntu-22.04" diff --git a/Makefile b/Makefile index 808bd852..677b5f25 100644 --- a/Makefile +++ b/Makefile @@ -189,7 +189,7 @@ changes: .PHONY: linkcheck linkcheck: - $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck + $(SPHINXBUILD) -b linkcheck -q $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck @echo @echo "Link check complete; look for any errors in the above output " \ "or in $(BUILDDIR)/linkcheck/output.txt."