mirror of
https://github.com/clearml/clearml-docs
synced 2025-02-24 21:14:37 +00:00
Update links.yml
This commit is contained in:
parent
df0c23803d
commit
ddff088147
3
.github/workflows/links.yml
vendored
3
.github/workflows/links.yml
vendored
@ -31,14 +31,13 @@ jobs:
|
|||||||
uses: lycheeverse/lychee-action@v1.2.0
|
uses: lycheeverse/lychee-action@v1.2.0
|
||||||
with:
|
with:
|
||||||
format: json
|
format: json
|
||||||
output: /tmp/links.json
|
|
||||||
args: --verbose --no-progress ${{ env.MD_FILES }}
|
args: --verbose --no-progress ${{ env.MD_FILES }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|
||||||
- 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 '.' /tmp/links.json)" >> $GITHUB_ENV
|
run: echo "REPORT=$(jq -Rs '.' ./lychee/out.md)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Echo Results
|
- name: Echo Results
|
||||||
if: ${{ steps.lychee.outputs.exit_code != 0 }}
|
if: ${{ steps.lychee.outputs.exit_code != 0 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user