Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
use base url if set
  • Loading branch information
RossBugginsNHS authored Sep 20, 2024
1 parent 7eeea0b commit 2cc0e69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ install:
s serve:
bundle exec jekyll serve --trace --livereload

define baseurlparam =
$(if $(BASE_URL),-- --baseurl $(BASE_URL),-- --baseurl "")
endef

build: version
npm run build $(baseurlparam)

Expand Down

0 comments on commit 2cc0e69

Please sign in to comment.