Skip to content

Commit

Permalink
Check links using container
Browse files Browse the repository at this point in the history
  • Loading branch information
moisseev committed May 10, 2024
1 parent 5326384 commit 20b5344
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,19 @@ jobs:
ln -s ../_site/ _site-root/${{ github.event.repository.name }}
- run: ls ./_site-root/
- run: ls ./_site-root/${{ github.event.repository.name }}

- name: Check broken links
env:
INPUT_URL: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}
INPUT_PAGES_PATH: ./_site-root/
INPUT_CMD_PARAMS: '--verbose --buffer-size=8192 --max-connections=10 --color=always --skip-tls-verification'
INPUT_CMD_PARAMS: '--buffer-size=8192 --max-connections=10 --color=always --skip-tls-verification'
run: |
wget -qO- https://raw.githubusercontent.com/ruzickap/action-my-broken-link-checker/v2/entrypoint.sh | bash
- name: Check links using container
if: ${{ always() }}
uses: ruzickap/action-my-broken-link-checker@v2
with:
url: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}
pages_path: ./_site-root/
cmd_params: '--verbose --buffer-size=8192 --max-connections=10 --color=always --skip-tls-verification --header="User-Agent:curl/7.54.0" --exclude="https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/doc/lua/lua_.+"'

0 comments on commit 20b5344

Please sign in to comment.