diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8f426d5030..db6fe40663 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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" diff --git a/docs/en/index.md b/docs/en/index.md index 1d52a315e3..63c400cb14 100644 --- a/docs/en/index.md +++ b/docs/en/index.md @@ -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). ***