Description
This skill is designed to deploy a specified directory in the current project to a ModelScope repository.
It simplifies the deployment process in the following ways:
- Manage the ModelScope repository URL in the local
.envfile. - Ensure that the
.envfile is ignored by.gitignore. - Automate Git operations: clone, clear (preserving .git), copy, commit, and push.
Usage
To use this skill, simply state which directory you want to deploy to ModelScope. For example:
"Deploy the gradio_app directory to ModelScope."
The skill will guide you through the subsequent steps.
Note: The entry script for this skill is scripts/run.py。