Publish Agent
Publish an Agent Using codebolt-cli
Follow these steps to publish an agent using npx codebolt-cli publish
in the desired directory:
Step 1: Log in to the Codebolt Portal
Before publishing an agent, you need to log in to the Codebolt portal. Use the following command to generate a login URL:
npx codebolt-cli login
This command will generate a URL. Copy the URL, open it in your browser, and log in to the portal. Once the login is successful, proceed to the next step.
Step 2: Publish the Agent
Once you're in the correct directory and logged in, publish the agent using the following command:
npx codebolt-cli publish