49
49
max_attempts : 3
50
50
command : |
51
51
rm -rf .lycheecache
52
- lychee --accept 403,429,500,502,999 --exclude-loopback --exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|tiktok\.com|fonts\.gstatic\.com|fonts\.googleapis\.com|url\.com)' --exclude-path '**/ci.yaml' --exclude-mail --github-token ${{ secrets.GITHUB_TOKEN }} './**/*.md' './**/*.html'
52
+ lychee
53
+ --accept 403,429,500,502,999
54
+ --exclude-loopback
55
+ --exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|tiktok\.com|fonts\.gstatic\.com|fonts\.googleapis\.com|url\.com)'
56
+ --exclude-path '**/ci.yaml'
57
+ --github-token ${{ secrets.GITHUB_TOKEN }}
58
+ './**/*.md'
59
+ './**/*.html'
53
60
54
61
- name : Download Ultralytics Website
55
62
if : matrix.branch == 'main'
66
73
max_attempts : 3
67
74
command : |
68
75
rm -rf .lycheecache
69
- lychee --accept 403,429,500,502,999 --exclude-loopback --exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|tiktok\.com|fonts\.gstatic\.com|fonts\.googleapis\.com|url\.com|wellfound\.com|.*\.cloudfunctions\.net|0\.0\.0\.0:5543/predict/from_files)' --exclude-path '**/ci.yaml' --exclude-mail --github-token ${{ secrets.GITHUB_TOKEN }} './ultralytics_website/**/*.html'
76
+ lychee
77
+ --accept 403,429,500,502,999
78
+ --exclude-loopback
79
+ --exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|tiktok\.com|fonts\.gstatic\.com|fonts\.googleapis\.com|url\.com|wellfound\.com|.*\.cloudfunctions\.net|0\.0\.0\.0:5543/predict/from_files)'
80
+ --exclude-path '**/ci.yaml'
81
+ --github-token ${{ secrets.GITHUB_TOKEN }}
82
+ './ultralytics_website/**/*.html'
70
83
71
84
- name : Test Website, Markdown, HTML, YAML, Python and Notebook links with retry
72
85
if : github.event_name == 'workflow_dispatch'
@@ -75,10 +88,20 @@ jobs:
75
88
timeout_minutes : 5
76
89
retry_wait_seconds : 60
77
90
max_attempts : 3
78
- command : |
91
+ command : |
79
92
rm -rf .lycheecache
80
- lychee --accept 429,999 --exclude-loopback --exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|tiktok\.com|fonts\.gstatic\.com|fonts\.googleapis\.com|url\.com)' --exclude-path '**/ci.yaml' --exclude-mail --github-token ${{ secrets.GITHUB_TOKEN }} './**/*.md' './**/*.html' './**/*.yml' './**/*.yaml' './**/*.py' './**/*.ipynb'
81
-
93
+ lychee
94
+ --accept 429,999
95
+ --exclude-loopback
96
+ --exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|tiktok\.com|fonts\.gstatic\.com|fonts\.googleapis\.com|url\.com)'
97
+ --exclude-path '**/ci.yaml'
98
+ --github-token ${{ secrets.GITHUB_TOKEN }}
99
+ './**/*.md'
100
+ './**/*.html'
101
+ './**/*.yml'
102
+ './**/*.yaml'
103
+ './**/*.py'
104
+ './**/*.ipynb'
82
105
83
106
Summary :
84
107
runs-on : ubuntu-latest
0 commit comments