fix link check with path_prefix

This commit is contained in:
Marcello 2023-10-18 13:45:03 +02:00
parent 910845d934
commit 7d6ecaf144

View file

@ -72,12 +72,14 @@ jobs:
- name: Prepare HTML for link checking - name: Prepare HTML for link checking
# untitaker/hyperlink supports no site prefixes, move entire site into # untitaker/hyperlink supports no site prefixes, move entire site into
# a subfolder # a subfolder
run: mkdir /tmp/public/ && cp -R public /tmp/public/oranda run: |
mkdir /tmp/public/ && cp -R public /tmp/public/json-to-env
cp public/index.html /tmp/public
- name: Check HTML for broken internal links - name: Check HTML for broken internal links
uses: untitaker/hyperlink@0.1.29 uses: untitaker/hyperlink@0.1.29
with: with:
args: /tmp/public/oranda args: /tmp/public
# Deploy to our gh-pages branch (creating it if it doesn't exist) # Deploy to our gh-pages branch (creating it if it doesn't exist)
# the "public" dir that oranda made above will become the root dir # the "public" dir that oranda made above will become the root dir