Files
firezone/.github/workflows/website-links.yml
Thomas Eizinger 4c04c69ec0 ci: remove lychee cache (#9234)
Hoping to fix the repeated errors from the link checker with this.
2025-05-26 20:55:59 +00:00

31 lines
947 B
YAML

name: Website Links
on:
workflow_dispatch:
schedule:
- cron: "00 18 * * *"
jobs:
linkChecker:
runs-on: ubuntu-latest
permissions:
issues: write # required for peter-evans/create-issue-from-file
steps:
- uses: actions/checkout@v4
- name: Check links on website
id: lychee
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1
with:
fail: false
args: --verbose --no-progress --exclude-all-private --max-concurrency 1 --retry-wait-time 60 --base https://firezone.dev .
workingDirectory: website
- name: Create Issue From File
if: steps.lychee.outputs.exit_code != 0
uses: peter-evans/create-issue-from-file@e8ef132d6df98ed982188e460ebb3b5d4ef3a9cd # v5.0.1
with:
title: Link Checker Report
content-filepath: ./website/lychee/out.md
labels: report, automated issue