Updating my crew in CrewAI Enterprise
Updating your crew code in your CrewAI deployment
crewAI won't automatically pick up Github updates as default, so you will probably find yourself wanting to update you crew manually eventually.
There are a few different reasons for you 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. Just updating your crew for a latest commit
All you have to do is to click on the "Re-deploy" button on your crew and that should trigger an update that you can tag along using a progress bar.
2. Reset bearer token
You might find yourself wanting to re-deploy while also reseting the bearer token protecting your app as you might have inadvertently leaked it.
3. Updating Environment Variables
You might find yourself wanting to update your environment variables, maybe to change a model or another integration. If that is the case you want to go into the deployment page and update the values from there.
First access the deployment page by clicking the crew's name.
Now you can go into the Environment variable section and update values from there,a nd click on the update deployment button, this will also trigger a new deploy but this will only update the environment variables and not the code itself