Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update publish-handbook.yml #13

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Update publish-handbook.yml #13

merged 1 commit into from
Oct 15, 2024

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Oct 15, 2024

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Streamline the workflow for publishing the Ultralytics Handbook by rearranging steps for efficiency and avoiding force deployment.

πŸ“Š Key Changes

  • πŸ—‚οΈ Moved the "Checkout repository" step to the beginning of the workflow.
  • πŸ“¦ Removed the --force option from the mkdocs gh-deploy command.
  • πŸ“₯ Added a git fetch origin gh-pages step before deployment.

🎯 Purpose & Impact

  • ⚑ Improves workflow efficiency by ensuring the repository is checked out first, preparing everything needed.
  • πŸ”„ Enhances build reliability and safety by fetching the latest gh-pages branch before deployment, preventing unnecessary force pushes.
  • 🌐 Encourages smoother updates and consistency on GitHub Pages for handbook access.

@glenn-jocher glenn-jocher merged commit abab3cf into main Oct 15, 2024
1 check failed
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch October 15, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant