It's nice you can do that, it doesn't work for large distributed teams.
That typically requires authentication, whether you're deploying to kubernetes or copying the files somewhere using scp, etc
So either your laptop or the ci system needs some level of secrets present to put the artifact in the correct place
A VCS system or CI system should never have secrets or be trusted in any way. Doing this is always dramatically increases attack surface for no reason.
I run a security consulting firm and this is often one of the first things I help my clients to fix.