Download Websites #170
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ultralytics YOLO 🚀, AGPL-3.0 license | |
# Action to download Ultralytics website and docs | |
name: Download Websites | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" # runs at 00:00 UTC every day | |
push: | |
branches: | |
- gh-pages | |
jobs: | |
Download: | |
runs-on: ubuntu-latest | |
continue-on-error: true # continue all steps if any fail | |
steps: | |
- name: Download Ultralytics Website | |
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/ | |
- name: Download Ultralytics Docs | |
run: | | |
mkdir ultralytics_docs | |
wget -P ultralytics_docs --recursive --no-parent --adjust-extension --reject "*.jpg*,*.jpeg*,*.png*,*.gif*,*.webp*,*.svg*,*.txt" https://docs.ultralytics.com/ |