mirror of
https://github.com/clearml/clearml-docs
synced 2025-01-31 06:27:22 +00:00
Update links.yml
This commit is contained in:
parent
ddff088147
commit
15d0d5f7c6
8
.github/workflows/links.yml
vendored
8
.github/workflows/links.yml
vendored
@ -37,11 +37,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Read Results
|
- name: Read Results
|
||||||
if: ${{ steps.lychee.outputs.exit_code != 0 }}
|
if: ${{ steps.lychee.outputs.exit_code != 0 }}
|
||||||
run: echo "REPORT=$(jq -Rs '.' ./lychee/out.md)" >> $GITHUB_ENV
|
run: echo "FAILED_URLS=$(jq -r '.fail_map[] | .[] | .url' ./lychee/out.md)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Echo Results
|
|
||||||
if: ${{ steps.lychee.outputs.exit_code != 0 }}
|
|
||||||
run: echo $REPORT
|
|
||||||
|
|
||||||
- name: Slack Notification
|
- name: Slack Notification
|
||||||
if: ${{ steps.lychee.outputs.exit_code != 0 }}
|
if: ${{ steps.lychee.outputs.exit_code != 0 }}
|
||||||
@ -52,5 +48,5 @@ jobs:
|
|||||||
blocks: |
|
blocks: |
|
||||||
[
|
[
|
||||||
{"type": "section", "text": {"type": "mrkdwn", "text": ":warning: Link Checker failure in github.com/allegroai/clearl-docs "}},
|
{"type": "section", "text": {"type": "mrkdwn", "text": ":warning: Link Checker failure in github.com/allegroai/clearl-docs "}},
|
||||||
{"type": "section", "text": {"type": "mrkdwn", "text": $REPORT}}
|
{"type": "section", "text": {"type": "mrkdwn", "text": "$FAILED_URLS"}}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user