mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-24 18:09:26 -05:00
drop action in favor of plain script
This commit is contained in:
parent
9ad5f2ab0f
commit
d597a359c2
1 changed files with 9 additions and 4 deletions
|
@ -3,15 +3,20 @@ name: Links
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '00 18 * * *'
|
- cron: '00 18 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linkChecker:
|
linkChecker:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install lychee
|
||||||
|
run: |
|
||||||
|
# Cleanup artifacts from previous run in case it crashed
|
||||||
|
rm -rf "lychee-v0.15.0-x86_64-unknown-linux-gnu.tar.gz" lychee
|
||||||
|
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"
|
||||||
|
rm "lychee-v0.15.0-x86_64-unknown-linux-gnu.tar.gz"
|
||||||
|
install -t "$HOME/.local/bin" -D lychee
|
||||||
|
|
||||||
- name: Link Checker
|
- name: Link Checker
|
||||||
id: lychee
|
id: lychee
|
||||||
uses: https://github.com/lycheeverse/lychee-action@v1
|
run: ./lychee --verbose --no-progress --scheme http --scheme https -f markdown -E ./docs
|
||||||
with:
|
|
||||||
args: --verbose --no-progress --scheme http --scheme https -E .
|
|
||||||
|
|
Loading…
Reference in a new issue