Skip to content

Commit

Permalink
Merge pull request #34 from brian-rose/sphinx-linkcheck
Browse files Browse the repository at this point in the history
New build_command argument for link-checker.yaml
  • Loading branch information
brian-rose authored Feb 1, 2023
2 parents e4c9989 + 5cb6e32 commit 3cb2dc7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/link-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ on:
required: false
default: 'true'
type: string
build_command:
description: 'The linux command to run the link checker for the book or site'
required: false
default: 'jupyter-book build --builder linkcheck .'
type: string


concurrency:
group: ${{ github.workflow }}=${{ github.head_ref}}
Expand Down Expand Up @@ -59,4 +65,5 @@ jobs:
- name: Check external links
run: |
jupyter-book build --builder linkcheck ${{ inputs.path_to_notebooks }}
cd ${{ inputs.path_to_notebooks }}
${{ inputs.build_command }}

0 comments on commit 3cb2dc7

Please sign in to comment.