mirror of
				https://github.com/clearml/clearml-docs
				synced 2025-06-26 18:17:44 +00:00 
			
		
		
		
	Update links.yml
This commit is contained in:
		
							parent
							
								
									4003bff771
								
							
						
					
					
						commit
						0f1a670a73
					
				
							
								
								
									
										9
									
								
								.github/workflows/links.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/links.yml
									
									
									
									
										vendored
									
									
								
							| @ -24,20 +24,21 @@ jobs: | ||||
| 
 | ||||
|       - name: Find all markdown files | ||||
|         id: find_files | ||||
|         run: | | ||||
|           echo "::set-output name=files::$(find . -name '*.md' -type f | sed 's|^./||' | tr '\n' ' ')" | ||||
|         run: echo "MD_FILES=$(find . -name '*.md' -type f | sed 's|^./||' | tr '\n' ' ')" >> $GITHUB_ENV | ||||
|          | ||||
|       - name: Link Checker | ||||
|         id: lychee | ||||
|         uses: lycheeverse/lychee-action@v1.2.0 | ||||
|         with: | ||||
|           args: --verbose --no-progress ${{steps.find_files.outputs.files}} | ||||
|           format: json | ||||
|           output: /tmp/links.json | ||||
|           args: --verbose --no-progress $MD_FILES | ||||
|         env: | ||||
|           GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||||
| 
 | ||||
|       - name: Read Markdown | ||||
|         if: ${{ steps.lychee.outputs.exit_code != 0 }} | ||||
|         run: echo "REPORT=$(jq -Rs '.' ./lychee/out.md)" >> $GITHUB_ENV | ||||
|         run: echo "REPORT=$(echo jq -Rs '```.```' /tmp/links.json)" >> $GITHUB_ENV | ||||
| 
 | ||||
|       - name: Slack Notification | ||||
|         if: ${{ steps.lychee.outputs.exit_code != 0 }} | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user