mirror of
https://github.com/ultralytics/ultralytics.git
synced 2025-09-15 15:48:41 +08:00
Clone Docs gh-pages branch --depth 1 (#18396)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
3b897a3beb
commit
00d2c0cdae
3
.github/workflows/docs.yml
vendored
3
.github/workflows/docs.yml
vendored
@ -88,9 +88,8 @@ jobs:
|
||||
- name: Publish Docs to https://docs.ultralytics.com
|
||||
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish_docs == 'true')
|
||||
run: |
|
||||
git clone https://github.com/ultralytics/docs.git docs-repo
|
||||
git clone --depth 1 --branch gh-pages https://github.com/ultralytics/docs.git docs-repo
|
||||
cd docs-repo
|
||||
git checkout gh-pages || git checkout -b gh-pages
|
||||
rm -rf *
|
||||
cp -R ../site/* .
|
||||
echo "${{ secrets.INDEXNOW_KEY_DOCS }}" > "${{ secrets.INDEXNOW_KEY_DOCS }}.txt"
|
||||
|
||||
@ -111,7 +111,7 @@ Explore the Ultralytics Docs, a comprehensive resource designed to help you unde
|
||||
|
||||
***
|
||||
|
||||
Ultralytics offers two licensing options for YOLO: AGPL-3.0 License and Enterprise License. Ultralytics is available on [GitHub](https://github.com/ultralytics/ultralytics)
|
||||
Ultralytics offers two YOLO licenses: AGPL-3.0 and Enterprise. Explore YOLO on [GitHub](https://github.com/ultralytics/ultralytics).
|
||||
|
||||
***
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user