diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 133941666..6a29a7eca 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,14 +63,19 @@ jobs: _site-root/ _site/ key: run_id-${{ github.run_id }} + - run: ls ./_site/ + - run: ls -l ./_site-root/ + - run: ls -l ./_site-root/rspamd.com - 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: > --buffer-size=8192 --color=always --skip-tls-verification + --verbose --include="^https://${{ github.repository_owner }}[.]github[.]io/${{ github.event.repository.name }}/" --exclude="^https://${{ github.repository_owner }}[.]github[.]io/${{ github.event.repository.name }}/(doc/lua/((lua|rspamd)_.+|ucl)[.]html(#.+)?|.*#top)$" + debug: true external-links-check: runs-on: ubuntu-latest @@ -82,13 +87,16 @@ jobs: _site-root/ _site/ key: run_id-${{ github.run_id }} + - run: ls ./_site/ + - run: ls -l ./_site-root/ + - run: ls -l ./_site-root/rspamd.com - uses: ruzickap/action-my-broken-link-checker@v2 with: - url: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }} + url: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/doc pages_path: ./_site-root/ cmd_params: > - --buffer-size=8192 --color=always --skip-tls-verification - --verbose --max-connections-per-host=10 + --buffer-size=18192 --color=always --skip-tls-verification + --verbose --max-connections-per-host=5 --rate-limit=5 --timeout=20 --header="User-Agent:curl/7.54.0" --exclude="^https://${{ github.repository_owner }}[.]github[.]io/${{ github.event.repository.name }}/" --exclude="^https://github[.]com/rspamd/rspamd[.]com/edit/master/" --exclude="^https://www[.]ozon[.]ru/$"