The only way this would work is if you can allow the users to have their own account or something on your website. I have seen many people use Netlify to deploy some kind of site builders or custom websites for clients which they connect to a single repo and deploy changes to that, which updates it for all their clients.
The approach you’re taking won’t work. There are still a few ways you could get this to work, though not quite automatic:
- You can allow your users to use your repo as a Git submodule.
- You can distribute your code as a library or something.
In both these cases, you’d have to ask the users to update it manually. There might be more ways to get this done, but the approach discussed above won’t work.