Using this job you will be able to detect most (see [here](#types-of-link-verified)) broken links in your **Markdown** or **HTML** files.
It uses the tool [`Liche`](https://github.com/raviqqe/liche){:target="_blank"} in [Go](https://golang.org/){:target="_blank"} to test and find the links in your documents. In its default state, this job will analyze your whole project for eligible files to verify.
## How to use it
1.My first step into the job
1.Have `.md` or `.html` files in your project
2. Add the corresponding URL to your `.gitlab-ci.yml` file (see [Getting
started](/getting-started)). Example:
@@ -30,7 +33,16 @@
| Name | Description | Default |
| ---- | ----------- | ------- |
| ` `<imgwidth=450/> | | ` ` |
| `LICHE_DIRECTORY`<imgwidth=450/> | Path to the directory to be scanned | ` ` |
| `LICHE_FILES` | A list of files (separated with spaces) to scan. It can be used with `LICHE_DIRECTORY` | ` ` |
| `LICHE_EXCLUDE` | A [regular expression](https://en.wikipedia.org/wiki/Regular_expression){:target="_blank"} | ` ` |
| `LICHE_PRINT_OK` | In addition to broken links, it will add not-broken links in the report (see [artifacts](#artifacts)) | `true` |
| `LICHE_RECURSIVE` | When `LICHE_DIRECTORY` is filled it will search for files recursively | `true` |
| `FAIL_ON_BROKEN` | Make your pipeline fails when a broken link is found | `false` |