DOCS_REMOTE := git@github.com:crucihil/docs.git
DOCS_BRANCH := main
DOCS_TMP    := _docs_deploy

.PHONY: docs
docs: ## Push mintlify/ to crucihil/docs as repo root
	@echo "Pushing mintlify/ → crucihil/docs..."
	git subtree split --prefix mintlify -b $(DOCS_TMP)
	git push $(DOCS_REMOTE) $(DOCS_TMP):$(DOCS_BRANCH) --force
	git branch -D $(DOCS_TMP)
	@echo "Done. Live at https://docs.crucihil.io"
