Skip to content

Commit

Permalink
Update links.yml to download full website (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Jul 5, 2024
1 parent a8e2af8 commit 4599da8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,14 @@ jobs:
if: matrix.branch == 'main'
run: |
mkdir ultralytics_website
wget -P ultralytics_website --recursive --no-parent --adjust-extension --reject "*.jpg*,*.jpeg*,*.png*,*.gif*,*.webp*,*.svg*,*.txt" https://www.ultralytics.com/es/ || true
wget -P ultralytics_website \
--recursive \
--no-parent \
--adjust-extension \
--reject "*.jpg*,*.jpeg*,*.png*,*.gif*,*.webp*,*.svg*,*.txt" \
--exclude-directories="/zh/,/ko/,/ja/,/ru/,/de/,/fr/,/es/,/pt/,/tr/,/vi/,/hi/,/ar/,/it/,/nl/" \
https://www.ultralytics.com/ || true
- name: Run Broken Link Checks on Ultralytics Website
if: matrix.branch == 'main'
uses: nick-fields/retry@v3
Expand Down

0 comments on commit 4599da8

Please sign in to comment.