Skip to content
English
  • There are no suggestions because the search field is empty.

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.

Screenshot 2024-04-15 at 04.05.03

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. 

Screenshot 2024-04-15 at 04.05.47

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.

Screenshot 2024-04-15 at 04.06.31

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

Screenshot 2024-04-15 at 04.08.39-1