markdown-link-check icon indicating copy to clipboard operation
markdown-link-check copied to clipboard

Document running in GitLab CI/CD Pipeline

Open oxr463 opened this issue 2 years ago • 2 comments

The README.md file only mentions GitHub Actions.

oxr463 avatar Feb 06 '23 01:02 oxr463

here an example:

linkchecker:
  stage: test
  image:
    name: ghcr.io/tcort/markdown-link-check:3.11.2
    entrypoint: ["/bin/sh", "-c"]
  needs: []
  variables:
    MARKDOWN_LINK_CHECK_CONFIG_FILE: markdown-link-check-config.json
  script:
    - find . -name \*.md -print0 | xargs -0 -n1 markdown-link-check -c ${MARKDOWN_LINK_CHECK_CONFIG_FILE}
  rules:
    - changes:
      - "**/*.md"
      - ${MARKDOWN_LINK_CHECK_CONFIG_FILE}

dklimpel avatar Oct 01 '23 12:10 dklimpel

IMO this is merged and can be closed.

=> https://github.com/tcort/markdown-link-check?tab=readme-ov-file#run-in-a-gitlab-pipeline

dklimpel avatar Jun 01 '24 17:06 dklimpel