Skip to content

Update Crew

CrewAI won’t automatically pick up GitHub updates by default, so you’ll need to manually trigger updates, unless you checked the Auto-update option when deploying your crew.

There are several reasons you might want to update your crew deployment:

  • You want to update the code with a latest commit you pushed to GitHub
  • You want to reset the bearer token for security reasons
  • You want to update environment variables

1. Updating Your Crew Code for a Latest Commit

Section titled “1. Updating Your Crew Code for a Latest Commit”

When you’ve pushed new commits to your GitHub repository and want to update your deployment:

  1. Navigate to your crew in the CrewAI AMP platform
  2. Click on the Re-deploy button on your crew details page
Re-deploy Button

This will trigger an update that you can track using the progress bar. The system will pull the latest code from your repository and rebuild your deployment.

If you need to generate a new bearer token (for example, if you suspect the current token might have been compromised):

  1. Navigate to your crew in the CrewAI AMP platform
  2. Find the Bearer Token section
  3. Click the Reset button next to your current token
Reset Token

To update the environment variables for your crew:

  1. First access the deployment page by clicking on your crew’s name

Environment Variables Button

  1. Locate the Environment Variables section (you will need to click the Settings icon to access it)
  2. Edit the existing variables or add new ones in the fields provided
  3. Click the Update button next to each variable you modify

Update Environment Variables

  1. Finally, click the Update Deployment button at the bottom of the page to apply the changes

After performing any update:

  1. The system will rebuild and redeploy your crew
  2. You can monitor the deployment progress in real-time
  3. Once complete, test your crew to ensure the changes are working as expected

Need Help?

Contact our support team for assistance with updating your crew or troubleshooting deployment issues.