mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-04-27 14:10:22 +03:00
update lychee link checker, see #583
This commit is contained in:
parent
b456b064ce
commit
37bb061720
3 changed files with 13 additions and 8 deletions
|
@ -18,16 +18,15 @@ jobs:
|
||||||
- name: Install lychee
|
- name: Install lychee
|
||||||
run: |
|
run: |
|
||||||
curl -sLO "https://github.com/lycheeverse/lychee/releases/download/v0.15.0/lychee-v0.15.0-x86_64-unknown-linux-gnu.tar.gz"
|
curl -sLO "https://github.com/lycheeverse/lychee/releases/download/v0.15.0/lychee-v0.15.0-x86_64-unknown-linux-gnu.tar.gz"
|
||||||
tar -xvzf "lychee-v0.15.0-x86_64-unknown-linux-gnu.tar.gz"
|
curl -sLO "https://github.com/lycheeverse/lychee/releases/download/lychee-v0.18.0/lychee-x86_64-unknown-linux-gnu.tar.gz"
|
||||||
rm "lychee-v0.15.0-x86_64-unknown-linux-gnu.tar.gz"
|
tar -xvzf "lychee-x86_64-unknown-linux-gnu.tar.gz"
|
||||||
install -t "$HOME/.local/bin" -D lychee
|
rm "lychee-x86_64-unknown-linux-gnu.tar.gz"
|
||||||
|
|
||||||
- name: Link Checker
|
- name: Link Checker
|
||||||
id: lychee
|
id: lychee
|
||||||
run: ./lychee docs v7/docs --format markdown
|
run: ./lychee docs v7/docs --format markdown
|
||||||
|
|
||||||
- name: Update issue
|
- name: Update issue
|
||||||
if: failure()
|
|
||||||
uses: https://github.com/peter-evans/create-issue-from-file@v5.0.0
|
uses: https://github.com/peter-evans/create-issue-from-file@v5.0.0
|
||||||
with:
|
with:
|
||||||
title: Dead links report
|
title: Dead links report
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 'Forgejo Actions user guide'
|
title: 'Forgejo Actions user guide'
|
||||||
license: 'CC-BY-SA-4.0'
|
license: 'CC-BY-SA-4.0'
|
||||||
similar: 'https://github.com/go-gitea/gitea/blob/main/docs/content/usage/actions/faq.en-us.md https://docs.github.com/en/actions'
|
similar: 'https://docs.gitea.com/usage/actions/overview https://docs.github.com/en/actions'
|
||||||
---
|
---
|
||||||
|
|
||||||
`Forgejo Actions` provides Continuous Integration driven from the files in the `.forgejo/workflows` directory of a repository, with a web interface to show the results. The syntax and semantics of the `workflow` files will be familiar to people used to [GitHub Actions](https://docs.github.com/en/actions) but **they are not and will never be identical**.
|
`Forgejo Actions` provides Continuous Integration driven from the files in the `.forgejo/workflows` directory of a repository, with a web interface to show the results. The syntax and semantics of the `workflow` files will be familiar to people used to [GitHub Actions](https://docs.github.com/en/actions) but **they are not and will never be identical**.
|
||||||
|
|
12
lychee.toml
12
lychee.toml
|
@ -1,9 +1,15 @@
|
||||||
no_progress = true
|
no_progress = true
|
||||||
output = "report.md"
|
output = "report.md"
|
||||||
cache = true
|
|
||||||
accept = ["200", "429"]
|
accept = ["200", "429"]
|
||||||
scheme = ["https","http"]
|
scheme = ["https", "http"]
|
||||||
skip_missing = false
|
skip_missing = false
|
||||||
include_verbatim = false
|
include_verbatim = false
|
||||||
exclude = ['^https://forgejo\.octopuce\.forgejo\.org','http://private.forgejo.org', 'https://codeberg.org/forgejo/forgejo/vX.Y/forgejo']
|
exclude = [
|
||||||
|
'https://forgejo\.octopuce\.forgejo\.org',
|
||||||
|
'http://private.forgejo.org',
|
||||||
|
'https://code.forgejo.org/api/v1',
|
||||||
|
'https://codeberg.org/forgejo/forgejo/vX.Y/forgejo',
|
||||||
|
'https://dash\.cloudflare\.com/\?to\=/\:account/turnstile',
|
||||||
|
'https://img.shields.io/badge/%7B%7B.label%7D%7D-%7B%7B.text%7D%7D-%7B%7B.color%7D%7D',
|
||||||
|
]
|
||||||
exclude_all_private = true
|
exclude_all_private = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue