How to update branch or build commands via CLI

I have a service running and want to update the branch or the custom build command but not being able. Reading the docs i assumed i should do this:

koyeb services update [ID] --git-branch [BRANCH_NAME]

This appears to be successful and triggers e deploy but it does not change the branch (also wanted to do the same with --git-build-command and the same thing happens)

Am i doing something worng?

Thanks

Hi @cfranchella,

For now, you have to always include the --git arg as part of your command to update the branch, build and run commands.

The following command will work:

koyeb service update app/service --git github.com/org/repo --git-branch main --git-build-command your_build_command

We will improve this behavior in the future to make things clearer.