docs/en/enterprise/guides/update-crew.mdx
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:
When you've pushed new commits to your GitHub repository and want to update your deployment:
Re-deploy button on your crew details pageThis 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):
Bearer Token sectionReset button next to your current tokenTo update the environment variables for your crew:
Environment Variables section (you will need to click the Settings icon to access it)Update button next to each variable you modifyUpdate Deployment button at the bottom of the page to apply the changesAfter performing any update: