Skip to content

Commit

Permalink
ci: Disable markdown link checking job on tags
Browse files Browse the repository at this point in the history
The goal is to avoid the job failing on a deploy routine.
  • Loading branch information
blockstreamsatellite committed Jul 12, 2023
1 parent 34dbb81 commit b150382
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,9 @@ check-markdown-links:
image:
name: ghcr.io/tcort/markdown-link-check:stable
entrypoint: [""]
only:
changes:
- "**/*.md"
rules:
- if: $CI_COMMIT_TAG
when: never
- when: always
script:
- find . -name \*.md | xargs -n1 /src/markdown-link-check

0 comments on commit b150382

Please sign in to comment.