Related issue scylladb/sphinx-scylladb-theme#395 ScyllaDB Sphinx Theme 1.2 is now released partying_face We’ve added automatic checks for broken links and introduced numerous UI updates. You can read more about all notable changes here. Closes #10313
35 lines
948 B
YAML
35 lines
948 B
YAML
name: "Docs / Links"
|
|
# For more information,
|
|
# see https://sphinx-theme.scylladb.com/stable/deployment/production.html#available-workflows
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 0 * * 0" # At 00:00 on Sunday
|
|
|
|
jobs:
|
|
linkChecker:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
persist-credentials: false
|
|
fetch-depth: 0
|
|
|
|
- name: Link Checker
|
|
id: lychee
|
|
uses: lycheeverse/lychee-action@v1.4.1
|
|
with:
|
|
args: --verbose --no-progress --exclude-mail './**/*.md' './**/*.rst'
|
|
env:
|
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
|
|
- name: Create Issue From File
|
|
if: ${{ steps.lychee.outputs.exit_code != 0 }}
|
|
uses: peter-evans/create-issue-from-file@v4
|
|
with:
|
|
title: Link Checker Report
|
|
content-filepath: ./lychee/out.md
|
|
labels: report, automated issue
|