Skip to main content

Code Update

When your function code changes, you can use the following command to update your cloud function code:

# Update app function code
tcb fn code update app

Differences Between the code update and deploy Commands

The main difference between the fn code updatecommand and thefn deploycommand is thatfn code updateonly updates the function's code and entry point without modifying other configurations, whilefn deploy` modifies the function's code, configurations, and triggers.