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
							
								
									f80ad93a78
								
							
						
					
					
						commit
						63e61daf6b
					
				
							
								
								
									
										22
									
								
								.github/workflows/links.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/links.yml
									
									
									
									
										vendored
									
									
								
							| @ -34,3 +34,25 @@ jobs: | ||||
|           args: --verbose --no-progress ${{steps.find_files.outputs.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 | ||||
| 
 | ||||
|       - name: Slack Notification | ||||
|         if: ${{ steps.lychee.outputs.exit_code != 0 }} | ||||
|         uses: tiloio/slack-webhook-action@v1.0.1 | ||||
|         with: | ||||
|           slack_web_hook_url: ${{ secrets.SLACK_WEBHOOK }} | ||||
|           slack_json: | | ||||
|             { | ||||
|               "text": "Link Checker failure in github.com/allegroai/clearl-docs", | ||||
|               "blocks": [ | ||||
|                 { | ||||
|                   "type": "section", | ||||
|                   "text": { | ||||
|                     "type": "mrkdwn", | ||||
|                     "text": "$REPORT" | ||||
|                   } | ||||
|               ] | ||||
|             } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user