How to update/use latest version of custom coded component

Hi there,

We created a custom coded component and serve it via Github. We have linked our Github account, and installed the component that was in development and activated the current version. So far so good.

But I was wondering, when we change or add functionality that is pushed to main branch in Github of the how to use this new version?

Wil it automatically use the new version because changes are pushed to main?

Do we need to install the component again and set that version live (from Weweb dashboard)

Do just set the new version live (from Weweb dashboard)

Thanks in advance.

You need to push to Github again and then switch the version in the dashboard to the latest.