Skip to content

Commit

Permalink
Exclude page edit links
Browse files Browse the repository at this point in the history
  • Loading branch information
moisseev committed May 10, 2024
1 parent 0f439d4 commit 05e929a
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,11 @@ jobs:
ln -s ../_site/ _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: >
--buffer-size=8192 --color=always --skip-tls-verification
--exclude="^https://${{ github.repository_owner }}[.]github[.]io/${{ github.event.repository.name }}/doc/lua/((lua|rspamd)_.+|ucl)[.]html$"
INPUT_DEBUG: true
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: >
--buffer-size=8192 --color=always --skip-tls-verification
--exclude="^https://${{ github.repository_owner }}[.]github[.]io/${{ github.event.repository.name }}/doc/lua/((lua|rspamd)_.+|ucl)[.]html$"
--exclude="^https://(github[.]com/rspamd/rspamd[.]com/edit/master/|${{ github.repository_owner }}[.]github[.]io/${{ github.event.repository.name }}/doc/lua/((lua|rspamd)_.+|ucl)[.]html$)"
debug: true

0 comments on commit 05e929a

Please sign in to comment.